Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1019)

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 1411843008: Make blink platform time consistent with the timer virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CachingCorrectnessTest Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebKit.cpp
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp
index b05429d38342f85692ef5c1f80b6ee6e2b8d185b..c892d8b06b2c170be6d89a38a70f71033ec2914e 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -134,12 +134,12 @@ v8::Isolate* mainThreadIsolate()
static double currentTimeFunction()
{
- return Platform::current()->currentTime();
+ return Platform::current()->currentTimeSeconds();
}
static double monotonicallyIncreasingTimeFunction()
{
- return Platform::current()->monotonicallyIncreasingTime();
+ return Platform::current()->monotonicallyIncreasingTimeSeconds();
}
static double systemTraceTimeFunction()
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | third_party/WebKit/Source/web/tests/TextFinderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698