| Index: sky/engine/web/Sky.cpp
|
| diff --git a/sky/engine/web/Sky.cpp b/sky/engine/web/Sky.cpp
|
| index 5441aed79e0d1e91fe4aac5e01f82e37a8cc9128..68fa1986e0775cb65117e51281c189291c852c53 100644
|
| --- a/sky/engine/web/Sky.cpp
|
| +++ b/sky/engine/web/Sky.cpp
|
| @@ -149,11 +149,6 @@ static void cryptographicallyRandomValues(unsigned char* buffer, size_t length)
|
| base::RandBytes(buffer, length);
|
| }
|
|
|
| -static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* context)
|
| -{
|
| - Platform::current()->callOnMainThread(function, context);
|
| -}
|
| -
|
| void initializeWithoutV8(Platform* platform)
|
| {
|
| ASSERT(!s_webKitInitialized);
|
| @@ -164,7 +159,7 @@ void initializeWithoutV8(Platform* platform)
|
|
|
| WTF::setRandomSource(cryptographicallyRandomValues);
|
| WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction);
|
| - WTF::initializeMainThread(callOnMainThreadFunction);
|
| + WTF::initializeMainThread();
|
|
|
| DEFINE_STATIC_LOCAL(CoreInitializer, initializer, ());
|
| initializer.init();
|
|
|