mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 11:24:59 +00:00
19 lines
432 B
C++
19 lines
432 B
C++
/*
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/HighResolutionTime/CoarsenTime.h>
|
|
|
|
namespace Web::HighResolutionTime {
|
|
|
|
// https://w3c.github.io/hr-time/#dfn-coarsen-time
|
|
double coarsen_time(double timestamp, bool cross_origin_isolated_capability)
|
|
{
|
|
// FIXME: Implement this.
|
|
(void)cross_origin_isolated_capability;
|
|
return timestamp;
|
|
}
|
|
|
|
}
|