mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Remove get prefix from activation timestamp getters
This commit is contained in:
parent
2fde20993b
commit
9c6ebe21d2
Notes:
sideshowbarker
2024-07-16 20:12:13 +09:00
Author: https://github.com/ADKaster
Commit: 9c6ebe21d2
Pull-request: https://github.com/SerenityOS/serenity/pull/24478
Reviewed-by: https://github.com/jamierocks
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue