mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:07:35 +00:00
LibWeb: Move unsafe_shared_current_time() to HighResolutionTime
This doesn't belong on the EventLoop at all, as far as I can tell.
This commit is contained in:
parent
ff9a80f54f
commit
4ea6cc56be
10 changed files with 31 additions and 25 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue