mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
WebContent: Delete unused PageClient::layout_root()
This commit is contained in:
parent
7a34bc2700
commit
1201447dfe
Notes:
github-actions[bot]
2025-08-05 15:25:56 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 1201447dfe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5722
Reviewed-by: https://github.com/gmta ✅
2 changed files with 0 additions and 9 deletions
|
|
@ -184,14 +184,6 @@ void PageClient::set_window_size(Web::DevicePixelSize size)
|
|||
page().set_window_size(size);
|
||||
}
|
||||
|
||||
Web::Layout::Viewport* PageClient::layout_root()
|
||||
{
|
||||
auto* document = page().top_level_browsing_context().active_document();
|
||||
if (!document)
|
||||
return nullptr;
|
||||
return document->layout_node();
|
||||
}
|
||||
|
||||
void PageClient::ready_to_paint()
|
||||
{
|
||||
page().top_level_traversable()->ready_to_paint();
|
||||
|
|
|
|||
|
|
@ -178,7 +178,6 @@ private:
|
|||
virtual void page_did_take_screenshot(Gfx::ShareableBitmap const& screenshot) override;
|
||||
virtual void received_message_from_web_ui(String const& name, JS::Value data) override;
|
||||
|
||||
Web::Layout::Viewport* layout_root();
|
||||
void setup_palette();
|
||||
ConnectionFromClient& client() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue