mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:17:35 +00:00
LibWeb: Remove unused code
The code that used these helpers has been moved a while ago to PageHost.
This commit is contained in:
parent
152ce88984
commit
065c8cefb8
2 changed files with 0 additions and 17 deletions
|
@ -130,20 +130,6 @@ EventHandler::EventHandler(Badge<HTML::BrowsingContext>, HTML::BrowsingContext&
|
|||
|
||||
EventHandler::~EventHandler() = default;
|
||||
|
||||
Layout::Viewport const* EventHandler::layout_root() const
|
||||
{
|
||||
if (!m_browsing_context->active_document())
|
||||
return nullptr;
|
||||
return m_browsing_context->active_document()->layout_node();
|
||||
}
|
||||
|
||||
Layout::Viewport* EventHandler::layout_root()
|
||||
{
|
||||
if (!m_browsing_context->active_document())
|
||||
return nullptr;
|
||||
return m_browsing_context->active_document()->layout_node();
|
||||
}
|
||||
|
||||
Painting::PaintableBox* EventHandler::paint_root()
|
||||
{
|
||||
if (!m_browsing_context->active_document())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue