| 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 4921ba561e3f7e7e50fefc688d7ef15a01a11409..427fd8c3ec4af7677177b790cdca455deb5412f1 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -141,18 +141,13 @@ 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);
|
| s_webKitInitialized = true;
|
|
|
| WTF::Partitions::initialize(maxObservedSizeFunction);
|
| - WTF::initialize(adjustAmountOfExternalAllocatedMemory);
|
| + WTF::initialize();
|
| WTF::initializeMainThread(callOnMainThreadFunction);
|
|
|
| ASSERT(platform);
|
|
|