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

Unified Diff: sky/engine/platform/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 | « no previous file | sky/engine/web/Sky.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/testing/RunAllTests.cpp
diff --git a/sky/engine/platform/testing/RunAllTests.cpp b/sky/engine/platform/testing/RunAllTests.cpp
index ad9d0e923bdae3db06cb14f490c4a34a6de7defe..7f40d69c4b15d1975401a171a392135bb6465172 100644
--- a/sky/engine/platform/testing/RunAllTests.cpp
+++ b/sky/engine/platform/testing/RunAllTests.cpp
@@ -39,11 +39,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);
@@ -52,7 +47,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();
blink::TestingPlatformSupport::Config platformConfig;
« no previous file with comments | « no previous file | sky/engine/web/Sky.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698