mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +00:00
LibWeb: Remove did_stop_being_active_document_in_browsing_context()
No longer used after migrating to navigables.
This commit is contained in:
parent
f757a7cfa8
commit
2175c85cea
2 changed files with 0 additions and 12 deletions
|
@ -2960,17 +2960,6 @@ bool Document::is_allowed_to_use_feature(PolicyControlledFeature feature) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void Document::did_stop_being_active_document_in_browsing_context(Badge<HTML::BrowsingContext>)
|
||||
{
|
||||
tear_down_layout_tree();
|
||||
|
||||
auto observers_to_notify = m_document_observers.values();
|
||||
for (auto& document_observer : observers_to_notify) {
|
||||
if (document_observer->document_became_inactive())
|
||||
document_observer->document_became_inactive()->function()();
|
||||
}
|
||||
}
|
||||
|
||||
void Document::did_stop_being_active_document_in_navigable()
|
||||
{
|
||||
tear_down_layout_tree();
|
||||
|
|
|
@ -504,7 +504,6 @@ public:
|
|||
|
||||
bool is_allowed_to_use_feature(PolicyControlledFeature) const;
|
||||
|
||||
void did_stop_being_active_document_in_browsing_context(Badge<HTML::BrowsingContext>);
|
||||
void did_stop_being_active_document_in_navigable();
|
||||
|
||||
bool query_command_supported(String const&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue