LibWeb: Remove unused BrowsingContext::container_document()

This commit is contained in:
Aliaksandr Kalenik
2023-09-04 15:58:05 +02:00
committed by Andreas Kling
parent 57e53fa844
commit bf785fee34
2 changed files with 0 additions and 17 deletions

View File

@@ -516,20 +516,6 @@ bool BrowsingContext::decrement_cursor_position_offset()
return true;
}
DOM::Document* BrowsingContext::container_document()
{
if (auto* container = this->container())
return &container->document();
return nullptr;
}
DOM::Document const* BrowsingContext::container_document() const
{
if (auto* container = this->container())
return &container->document();
return nullptr;
}
// https://html.spec.whatwg.org/#rendering-opportunity
bool BrowsingContext::has_a_rendering_opportunity() const
{