mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Replace nested_browsing_context() with content_navigable()
This commit is contained in:
parent
fec4737255
commit
feba8e6218
Notes:
github-actions[bot]
2024-11-03 17:44:43 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: feba8e6218
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2139
3 changed files with 5 additions and 21 deletions
|
@ -24,19 +24,6 @@ public:
|
|||
JS::GCPtr<Navigable> content_navigable() { return m_content_navigable; }
|
||||
JS::GCPtr<Navigable const> content_navigable() const { return m_content_navigable.ptr(); }
|
||||
|
||||
BrowsingContext* nested_browsing_context()
|
||||
{
|
||||
if (m_content_navigable)
|
||||
return m_content_navigable->active_browsing_context();
|
||||
return nullptr;
|
||||
}
|
||||
BrowsingContext const* nested_browsing_context() const
|
||||
{
|
||||
if (m_content_navigable)
|
||||
return m_content_navigable->active_browsing_context();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const DOM::Document* content_document() const;
|
||||
DOM::Document const* content_document_without_origin_check() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue