Index: Source/web/WebKit.cpp |
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp |
index 543e34b2bfd25b726021c5eb8e7bb9069fe05e03..a7826f1701b337b009058946526f1d82ffacf1d9 100644 |
--- a/Source/web/WebKit.cpp |
+++ b/Source/web/WebKit.cpp |
@@ -143,6 +143,11 @@ static double monotonicallyIncreasingTimeFunction() |
return Platform::current()->monotonicallyIncreasingTime(); |
} |
+static void histogramEnumerationFunction(const char* name, int sample, int boundaryValue) |
+{ |
+ Platform::current()->histogramEnumeration(name, sample, boundaryValue); |
+} |
+ |
static void cryptographicallyRandomValues(unsigned char* buffer, size_t length) |
{ |
Platform::current()->cryptographicallyRandomValues(buffer, length); |
@@ -162,7 +167,7 @@ void initializeWithoutV8(Platform* platform) |
Platform::initialize(platform); |
WTF::setRandomSource(cryptographicallyRandomValues); |
- WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction); |
+ WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction, histogramEnumerationFunction); |
WTF::initializeMainThread(callOnMainThreadFunction); |
Heap::init(); |