1
Fork 0
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:
Sebastian Zaha 2023-07-21 16:46:43 +02:00 committed by Andreas Kling
parent 152ce88984
commit 065c8cefb8
2 changed files with 0 additions and 17 deletions

View file

@ -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())