Chromium Code Reviews| 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..db4d075a7e8d77833150465e511e7bb8bd4b4608 100644 |
| --- a/third_party/WebKit/Source/web/WebKit.cpp |
| +++ b/third_party/WebKit/Source/web/WebKit.cpp |
| @@ -157,10 +157,10 @@ void initializeWithoutV8(Platform* platform) |
| WTF::Partitions::initialize(maxObservedSizeFunction); |
| ASSERT(platform); |
|
sof
2016/03/09 19:07:52
nit: keep this assert alongside the platform init
|
| - Platform::initialize(platform); |
| - |
| WTF::initialize(adjustAmountOfExternalAllocatedMemory); |
| WTF::initializeMainThread(callOnMainThreadFunction); |
| + |
| + Platform::initialize(platform); |
| Heap::init(); |
| ThreadState::attachMainThread(); |
| @@ -229,8 +229,9 @@ void shutdownWithoutV8() |
| ASSERT(!s_endOfTaskRunner); |
| Heap::shutdown(); |
| - WTF::shutdown(); |
| Platform::shutdown(); |
| + |
| + WTF::shutdown(); |
| WebPrerenderingSupport::shutdown(); |
| WTF::Partitions::shutdown(); |
| } |