| Index: third_party/WebKit/Source/wtf/WTF.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/WTF.cpp b/third_party/WebKit/Source/wtf/WTF.cpp
|
| index 1c8cb26ea5a7e4760b2f103b957da49fcbeab33c..2cb5c7e6671fb3cd41542328730020eb5d344bd6 100644
|
| --- a/third_party/WebKit/Source/wtf/WTF.cpp
|
| +++ b/third_party/WebKit/Source/wtf/WTF.cpp
|
| @@ -41,16 +41,13 @@ extern void initializeThreading();
|
| bool s_initialized;
|
| bool s_shutdown;
|
|
|
| -void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction histogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction adjustAmountOfExternalAllocatedMemoryFunction)
|
| +void initialize(HistogramEnumerationFunction histogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction adjustAmountOfExternalAllocatedMemoryFunction)
|
| {
|
| // WTF, and Blink in general, cannot handle being re-initialized, even if shutdown first.
|
| // Make that explicit here.
|
| RELEASE_ASSERT(!s_initialized);
|
| RELEASE_ASSERT(!s_shutdown);
|
| s_initialized = true;
|
| - setCurrentTimeFunction(currentTimeFunction);
|
| - setMonotonicallyIncreasingTimeFunction(monotonicallyIncreasingTimeFunction);
|
| - setSystemTraceTimeFunction(systemTraceTimeFunction);
|
| Partitions::initialize(histogramEnumerationFunction);
|
| ArrayBufferContents::setAdjustAmoutOfExternalAllocatedMemoryFunction(adjustAmountOfExternalAllocatedMemoryFunction);
|
| initializeThreading();
|
|
|