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

Unified Diff: sky/engine/wtf/WTF.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.h ('k') | sky/engine/wtf/testing/RunAllTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/wtf/WTF.cpp
diff --git a/sky/engine/wtf/WTF.cpp b/sky/engine/wtf/WTF.cpp
index 0880460895ef1b9145f155789919e63ba623ef84..902f8b93a01d78855fa884076b8deab19927b741 100644
--- a/sky/engine/wtf/WTF.cpp
+++ b/sky/engine/wtf/WTF.cpp
@@ -43,7 +43,7 @@ bool s_shutdown;
bool Partitions::s_initialized;
PartitionAllocatorGeneric Partitions::m_bufferAllocator;
-void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction)
+void initialize()
{
// WTF, and Blink in general, cannot handle being re-initialized, even if shutdown first.
// Make that explicit here.
@@ -51,8 +51,6 @@ void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncr
ASSERT(!s_shutdown);
s_initialized = true;
Partitions::initialize();
- setCurrentTimeFunction(currentTimeFunction);
- setMonotonicallyIncreasingTimeFunction(monotonicallyIncreasingTimeFunction);
initializeThreading();
}
« no previous file with comments | « sky/engine/wtf/WTF.h ('k') | sky/engine/wtf/testing/RunAllTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698