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

Unified Diff: sky/engine/wtf/testing/RunAllTests.cpp

Issue 887883002: WTF should get time from base directly (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/wtf/WTF.cpp ('k') | sky/viewer/platform/platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/testing/RunAllTests.cpp
diff --git a/sky/engine/wtf/testing/RunAllTests.cpp b/sky/engine/wtf/testing/RunAllTests.cpp
index 451e00e64b332bd86abe20ad33fe079183475f67..a8b1202aa6932a51889e6595a3e894b6427fabf7 100644
--- a/sky/engine/wtf/testing/RunAllTests.cpp
+++ b/sky/engine/wtf/testing/RunAllTests.cpp
@@ -36,11 +36,6 @@
#include "sky/engine/wtf/MainThread.h"
#include "sky/engine/wtf/WTF.h"
-static double CurrentTime()
-{
- return 0.0;
-}
-
static void AlwaysZeroNumberSource(unsigned char* buf, size_t len)
{
memset(buf, '\0', len);
@@ -49,7 +44,7 @@ static void AlwaysZeroNumberSource(unsigned char* buf, size_t len)
int main(int argc, char** argv)
{
WTF::setRandomSource(AlwaysZeroNumberSource);
- WTF::initialize(CurrentTime, 0);
+ WTF::initialize();
WTF::initializeMainThread();
return base::RunUnitTestsUsingBaseTestSuite(argc, argv);
}
« no previous file with comments | « sky/engine/wtf/WTF.cpp ('k') | sky/viewer/platform/platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698