mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03:00
LibWeb: Remove unused BrowsingContext::container_document()
This commit is contained in:
parent
57e53fa844
commit
bf785fee34
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/bf785fee34 Pull-request: https://github.com/SerenityOS/serenity/pull/18219
@ -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…
Reference in New Issue
Block a user