mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibWeb+WebContent: Delete unused "has focus" flag from paint config
This commit is contained in:
parent
418409aa6f
commit
b73525ba0e
Notes:
github-actions[bot]
2025-07-04 14:14:20 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: b73525ba0e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5259
Reviewed-by: https://github.com/gmta ✅
7 changed files with 0 additions and 11 deletions
|
@ -58,7 +58,6 @@ void NavigableContainerViewportPaintable::paint(PaintContext& context, PaintPhas
|
|||
DOM::Document::PaintConfig paint_config;
|
||||
paint_config.paint_overlay = context.should_paint_overlay();
|
||||
paint_config.should_show_line_box_borders = context.should_show_line_box_borders();
|
||||
paint_config.has_focus = context.has_focus();
|
||||
auto display_list = const_cast<DOM::Document*>(hosted_document)->record_display_list(paint_config);
|
||||
auto scroll_state_snapshot = hosted_document->paintable()->scroll_state().snapshot();
|
||||
context.display_list_recorder().paint_nested_display_list(display_list, move(scroll_state_snapshot), context.enclosing_device_rect(absolute_rect).to_type<int>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue