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

Unified Diff: third_party/WebKit/Source/wtf/testing/RunAllTests.cpp

Issue 1936853002: Assert event timestamp to be monotonic and not from future Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to histogram Created 4 years, 2 months 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
« no previous file with comments | « third_party/WebKit/Source/wtf/CurrentTime.cpp ('k') | third_party/WebKit/public/web/WebTestingSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
diff --git a/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp b/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
index 2b5d15da166cacdb6a52dee24aeed4dc36a9054d..09f7081e61547e897dbdd76f38087a33b864bf7d 100644
--- a/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
+++ b/third_party/WebKit/Source/wtf/testing/RunAllTests.cpp
@@ -43,7 +43,8 @@ static double dummyCurrentTime()
int main(int argc, char** argv)
{
WTF::Partitions::initialize(nullptr);
- WTF::setTimeFunctionsForTesting(dummyCurrentTime);
+ WTF::setCurrentTimeFunctionForTesting(dummyCurrentTime);
+ WTF::setMonotonicallyIncreasingTimeFunctionForTesting(dummyCurrentTime);
WTF::initialize(nullptr);
return base::RunUnitTestsUsingBaseTestSuite(argc, argv);
}
« no previous file with comments | « third_party/WebKit/Source/wtf/CurrentTime.cpp ('k') | third_party/WebKit/public/web/WebTestingSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698