| Index: sky/engine/web/Sky.cpp
|
| diff --git a/sky/engine/web/Sky.cpp b/sky/engine/web/Sky.cpp
|
| index b95252f0d474e4b05be94b50eda2fa8a3078a2d2..de85c744d42b1314f80feeda602eb1cd050b456b 100644
|
| --- a/sky/engine/web/Sky.cpp
|
| +++ b/sky/engine/web/Sky.cpp
|
| @@ -132,16 +132,6 @@ v8::Isolate* mainThreadIsolate()
|
| return V8PerIsolateData::mainThreadIsolate();
|
| }
|
|
|
| -static double currentTimeFunction()
|
| -{
|
| - return Platform::current()->currentTime();
|
| -}
|
| -
|
| -static double monotonicallyIncreasingTimeFunction()
|
| -{
|
| - return Platform::current()->monotonicallyIncreasingTime();
|
| -}
|
| -
|
| static void cryptographicallyRandomValues(unsigned char* buffer, size_t length)
|
| {
|
| base::RandBytes(buffer, length);
|
| @@ -156,7 +146,7 @@ void initializeWithoutV8(Platform* platform)
|
| Platform::initialize(platform);
|
|
|
| WTF::setRandomSource(cryptographicallyRandomValues);
|
| - WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction);
|
| + WTF::initialize();
|
| WTF::initializeMainThread();
|
|
|
| DEFINE_STATIC_LOCAL(CoreInitializer, initializer, ());
|
|
|