1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

LibWeb: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h

This is being used for more than just time coarsening now, so let's use
the spec's section title for the name.
This commit is contained in:
Linus Groh 2022-10-04 21:30:29 +01:00
parent 4ea6cc56be
commit 32ad939e44
10 changed files with 9 additions and 9 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/HighResolutionTime/DOMHighResTimeStamp.h>
namespace Web::HighResolutionTime {
DOMHighResTimeStamp coarsen_time(DOMHighResTimeStamp timestamp, bool cross_origin_isolated_capability = false);
DOMHighResTimeStamp coarsened_shared_current_time(bool cross_origin_isolated_capability = false);
DOMHighResTimeStamp unsafe_shared_current_time();
}