mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibWeb: Remove unused BrowsingContext::container_document()
This commit is contained in:
committed by
Andreas Kling
parent
57e53fa844
commit
bf785fee34
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user