summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-04-05 09:18:15 +0300
committerAndreas Kling <kling@serenityos.org>2023-04-28 18:11:44 +0200
commit6660eb3e1bb241b2360be2c609f7c03fb068e868 (patch)
tree2caad972a1c137f622db6742aa403493e329a178
parent51d64bdaeccec806aa25f47534670171422129fc (diff)
downloadserenity-6660eb3e1bb241b2360be2c609f7c03fb068e868.zip
LibWeb: Add non-const session_history_entries getter in traversable
-rw-r--r--Userland/Libraries/LibWeb/HTML/TraversableNavigable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h b/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h
index fa63517085..79c64315a4 100644
--- a/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h
+++ b/Userland/Libraries/LibWeb/HTML/TraversableNavigable.h
@@ -25,6 +25,7 @@ public:
bool is_top_level_traversable() const;
int current_session_history_step() const { return m_current_session_history_step; };
+ Vector<JS::NonnullGCPtr<SessionHistoryEntry>>& session_history_entries() { return m_session_history_entries; };
Vector<JS::NonnullGCPtr<SessionHistoryEntry>> const& session_history_entries() const { return m_session_history_entries; };
bool running_nested_apply_history_step() const { return m_running_nested_apply_history_step; };
VisibilityState system_visibility_state() const { return m_system_visibility_state; };