From 0285a363e27274135fc6d4f9e0d259199ace3a0c Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Thu, 6 Apr 2023 23:28:08 +0300 Subject: [PATCH] LibWeb: Add set_current_session_history_entry setter for Navigable --- Userland/Libraries/LibWeb/HTML/Navigable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/HTML/Navigable.h b/Userland/Libraries/LibWeb/HTML/Navigable.h index 10e853ebd3..ea44497296 100644 --- a/Userland/Libraries/LibWeb/HTML/Navigable.h +++ b/Userland/Libraries/LibWeb/HTML/Navigable.h @@ -42,6 +42,7 @@ public: JS::GCPtr active_session_history_entry() const { return m_active_session_history_entry; }; JS::GCPtr current_session_history_entry() const { return m_current_session_history_entry; }; + void set_current_session_history_entry(JS::GCPtr entry) { m_current_session_history_entry = entry; }; Vector>& get_session_history_entries() const;