mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 01:56:38 +00:00
LibWeb+WebContent: Delete unused page_did_layout()
This commit is contained in:
parent
b0ef7f4427
commit
aa31b69e7e
Notes:
github-actions[bot]
2025-07-17 06:25:29 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: aa31b69e7e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5481
Reviewed-by: https://github.com/gmta ✅
4 changed files with 0 additions and 20 deletions
|
@ -1393,10 +1393,6 @@ void Document::update_layout(UpdateLayoutReason reason)
|
|||
update_paint_and_hit_testing_properties_if_needed();
|
||||
paintable()->assign_clip_frames();
|
||||
|
||||
if (navigable->is_traversable()) {
|
||||
page().client().page_did_layout();
|
||||
}
|
||||
|
||||
if (auto range = get_selection()->range()) {
|
||||
paintable()->recompute_selection_states(*range);
|
||||
}
|
||||
|
|
|
@ -351,7 +351,6 @@ public:
|
|||
virtual void page_did_hover_link(URL::URL const&) { }
|
||||
virtual void page_did_unhover_link() { }
|
||||
virtual void page_did_change_favicon(Gfx::Bitmap const&) { }
|
||||
virtual void page_did_layout() { }
|
||||
virtual void page_did_request_alert(String const&) { }
|
||||
virtual void page_did_request_confirm(String const&) { }
|
||||
virtual void page_did_request_prompt(String const&, String const&) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue