| 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 6640dd3d0ac50fd572ea95e4c5a4a59eeef336cb..0eab03c0d73ecf6fd8e96e36475396475cdbb789 100644
|
| --- a/third_party/WebKit/Source/web/WebKit.cpp
|
| +++ b/third_party/WebKit/Source/web/WebKit.cpp
|
| @@ -152,11 +152,11 @@ void initializeWithoutV8(Platform* platform)
|
| s_webKitInitialized = true;
|
|
|
| WTF::Partitions::initialize(maxObservedSizeFunction);
|
| - ASSERT(platform);
|
| - Platform::initialize(platform);
|
| -
|
| WTF::initialize(adjustAmountOfExternalAllocatedMemory);
|
| WTF::initializeMainThread(callOnMainThreadFunction);
|
| +
|
| + ASSERT(platform);
|
| + Platform::initialize(platform);
|
| Heap::init();
|
|
|
| ThreadState::attachMainThread();
|
| @@ -223,8 +223,9 @@ void shutdownWithoutV8()
|
|
|
| ASSERT(!s_endOfTaskRunner);
|
| Heap::shutdown();
|
| - WTF::shutdown();
|
| Platform::shutdown();
|
| +
|
| + WTF::shutdown();
|
| WebPrerenderingSupport::shutdown();
|
| WTF::Partitions::shutdown();
|
| }
|
|
|