mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 23:59:53 +00:00
LibWeb: Move system visibility state to TraversableNavigable
This no longer belongs in BrowsingContext.
This commit is contained in:
parent
046ae7fe86
commit
38cb15ff49
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/awesomekling
Commit: 38cb15ff49
Pull-request: https://github.com/SerenityOS/serenity/pull/21167
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 37 additions and 40 deletions
|
@ -871,7 +871,7 @@ void ConnectionFromClient::request_file(Web::FileRequest file_request)
|
|||
|
||||
void ConnectionFromClient::set_system_visibility_state(bool visible)
|
||||
{
|
||||
m_page_host->page().top_level_browsing_context().set_system_visibility_state(
|
||||
m_page_host->page().top_level_traversable()->set_system_visibility_state(
|
||||
visible
|
||||
? Web::HTML::VisibilityState::Visible
|
||||
: Web::HTML::VisibilityState::Hidden);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue