LibWeb: Remove get prefix from activation timestamp getters

This commit is contained in:
Andrew Kaster 2024-05-29 10:07:37 -06:00 committed by Andreas Kling
parent 2fde20993b
commit 9c6ebe21d2
Notes: sideshowbarker 2024-07-16 20:12:13 +09:00
2 changed files with 3 additions and 3 deletions

View File

@ -929,7 +929,7 @@ void Navigation::consume_history_action_user_activation(Window& w)
// 5. For each window in windows, set window's last history-action activation timestamp to window's last activation timestamp.
for (auto& window : windows)
window->set_last_history_action_activation_timestamp(window->get_last_activation_timestamp());
window->set_last_history_action_activation_timestamp(window->last_activation_timestamp());
}
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#inner-navigate-event-firing-algorithm

View File

@ -214,10 +214,10 @@ public:
[[nodiscard]] JS::NonnullGCPtr<CustomElementRegistry> custom_elements();
HighResolutionTime::DOMHighResTimeStamp get_last_activation_timestamp() const { return m_last_activation_timestamp; }
HighResolutionTime::DOMHighResTimeStamp last_activation_timestamp() const { return m_last_activation_timestamp; }
void set_last_activation_timestamp(HighResolutionTime::DOMHighResTimeStamp timestamp) { m_last_activation_timestamp = timestamp; }
HighResolutionTime::DOMHighResTimeStamp get_last_history_action_activation_timestamp() const { return m_last_history_action_activation_timestamp; }
HighResolutionTime::DOMHighResTimeStamp last_history_action_activation_timestamp() const { return m_last_history_action_activation_timestamp; }
void set_last_history_action_activation_timestamp(HighResolutionTime::DOMHighResTimeStamp timestamp) { m_last_history_action_activation_timestamp = timestamp; }
static void set_inspector_object_exposed(bool);