| 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 3fa474fa4fd4cc62daa165da2db647021f935768..8a1a341c228c3bd38b8a00e8bea791403d9793ff 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -145,11 +145,6 @@ static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* con
|
| Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(function, AllowCrossThreadAccess(context)));
|
| }
|
|
|
| -static void adjustAmountOfExternalAllocatedMemory(int size)
|
| -{
|
| - v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(size);
|
| -}
|
| -
|
| void initializeWithoutV8(Platform* platform)
|
| {
|
| ASSERT(!s_webKitInitialized);
|
| @@ -159,7 +154,7 @@ void initializeWithoutV8(Platform* platform)
|
| ASSERT(platform);
|
| Platform::initialize(platform);
|
|
|
| - WTF::initialize(adjustAmountOfExternalAllocatedMemory);
|
| + WTF::initialize();
|
| WTF::initializeMainThread(callOnMainThreadFunction);
|
| Heap::init();
|
|
|
|
|