LibWeb: Transform SessionHistoryEntry from a struct to a class

No behaviour change intended.
This commit is contained in:
Aliaksandr Kalenik 2024-03-27 15:59:12 +01:00 committed by Andreas Kling
commit b590d1b48b
Notes: sideshowbarker 2024-07-17 06:39:26 +09:00
12 changed files with 197 additions and 161 deletions

View file

@ -866,7 +866,7 @@ void Window::set_name(String const& name)
return;
// 2. Set this's navigable's active session history entry's document state's navigable target name to the given value.
navigable()->active_session_history_entry()->document_state->set_navigable_target_name(name);
navigable()->active_session_history_entry()->document_state()->set_navigable_target_name(name);
}
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-window-status