diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-04 21:25:00 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-05 09:12:59 +0100 |
commit | 4ea6cc56bed17a0c2231c5ba56ea45dbb7ea135a (patch) | |
tree | b2ed03a2f83aeff7d2b1c72fd806643bbcb06077 /Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp | |
parent | ff9a80f54f09888f2057123df1c67225a52a7b35 (diff) | |
download | serenity-4ea6cc56bed17a0c2231c5ba56ea45dbb7ea135a.zip |
LibWeb: Move unsafe_shared_current_time() to HighResolutionTime
This doesn't belong on the EventLoop at all, as far as I can tell.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp index 72e347dfdd..b8df3f9c17 100644 --- a/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp +++ b/Userland/Libraries/LibWeb/HTML/BrowsingContext.cpp @@ -108,7 +108,7 @@ NonnullRefPtr<BrowsingContext> BrowsingContext::create_a_new_browsing_context(Pa auto browsing_context = adopt_ref(*new BrowsingContext(page, container)); // 2. Let unsafeContextCreationTime be the unsafe shared current time. - [[maybe_unused]] auto unsafe_context_creation_time = HTML::main_thread_event_loop().unsafe_shared_current_time(); + [[maybe_unused]] auto unsafe_context_creation_time = HighResolutionTime::unsafe_shared_current_time(); // 3. If creator is non-null, then set browsingContext's creator origin to return creator's origin, // browsingContext's creator URL to return creator's URL, |