mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 06:05:08 +00:00
LibWeb: Remove unused BrowsingContext::container_document()
This commit is contained in:
parent
57e53fa844
commit
bf785fee34
2 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -181,9 +181,6 @@ public:
|
|||
void set_frame_nesting_levels(HashMap<AK::URL, size_t> frame_nesting_levels) { m_frame_nesting_levels = move(frame_nesting_levels); }
|
||||
HashMap<AK::URL, size_t> const& frame_nesting_levels() const { return m_frame_nesting_levels; }
|
||||
|
||||
DOM::Document* container_document();
|
||||
DOM::Document const* container_document() const;
|
||||
|
||||
bool has_a_rendering_opportunity() const;
|
||||
|
||||
JS::GCPtr<DOM::Node> currently_focused_area();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue