1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:28:11 +00:00

LibWeb: Add DOMHighResTimeStamp typedef

This commit is contained in:
Linus Groh 2022-10-04 21:13:35 +01:00
parent 398e44b27b
commit 5c4eb90d65
3 changed files with 18 additions and 3 deletions

View file

@ -9,7 +9,7 @@
namespace Web::HighResolutionTime {
// https://w3c.github.io/hr-time/#dfn-coarsen-time
double coarsen_time(double timestamp, bool cross_origin_isolated_capability)
DOMHighResTimeStamp coarsen_time(DOMHighResTimeStamp timestamp, bool cross_origin_isolated_capability)
{
// FIXME: Implement this.
(void)cross_origin_isolated_capability;