Skip to content

Truly independent web browser

AK: Read the Windows wall clock at full precision

Zaggy10248780ec315c38
diff --git a/AK/Time.cpp b/AK/Time.cpp
index 31106f0831b..f7029c3e9cb 100644
--- a/AK/Time.cpp
+++ b/AK/Time.cpp
@@ -435,7 +435,7 @@ namespace {
Duration now_time_from_filetime()
{
FILETIME ft {};
- GetSystemTimeAsFileTime(&ft);
+ GetSystemTimePreciseAsFileTime(&ft);
// Units: 1 LSB == 100 ns
ULARGE_INTEGER hundreds_of_nanos {