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 110d185122a951680f8e308683f43f749e26cbe9..0919aa0bbd24a12ba7457a10cf8c758b58621947 100644 |
--- a/third_party/WebKit/Source/web/WebKit.cpp |
+++ b/third_party/WebKit/Source/web/WebKit.cpp |
@@ -133,21 +133,6 @@ v8::Isolate* mainThreadIsolate() |
return V8PerIsolateData::mainThreadIsolate(); |
} |
-static double currentTimeFunction() |
-{ |
- return Platform::current()->currentTimeSeconds(); |
-} |
- |
-static double monotonicallyIncreasingTimeFunction() |
-{ |
- return Platform::current()->monotonicallyIncreasingTimeSeconds(); |
-} |
- |
-static double systemTraceTimeFunction() |
-{ |
- return Platform::current()->systemTraceTime(); |
-} |
- |
static void histogramEnumerationFunction(const char* name, int sample, int boundaryValue) |
{ |
Platform::current()->histogramEnumeration(name, sample, boundaryValue); |
@@ -177,7 +162,7 @@ void initializeWithoutV8(Platform* platform) |
Platform::initialize(platform); |
WTF::setRandomSource(cryptographicallyRandomValues); |
- WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction, systemTraceTimeFunction, histogramEnumerationFunction, adjustAmountOfExternalAllocatedMemory); |
+ WTF::initialize(histogramEnumerationFunction, adjustAmountOfExternalAllocatedMemory); |
WTF::initializeMainThread(callOnMainThreadFunction); |
Heap::init(); |