Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 1619443002: Move Partitions::initialize() before Platform::initialize(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move Partitions::shutdown out of WTF::shutdown Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/testing/RunAllTests.cpp ('k') | third_party/WebKit/Source/wtf/WTF.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a880884b7115215699199ae3f89ae644108fc696..7e5939386ba327ecb563d1962b6ba90bb434647b 100644
--- a/third_party/WebKit/Source/web/WebKit.cpp
+++ b/third_party/WebKit/Source/web/WebKit.cpp
@@ -163,10 +163,11 @@ void initializeWithoutV8(Platform* platform)
ASSERT(!s_webKitInitialized);
s_webKitInitialized = true;
+ WTF::Partitions::initialize(histogramEnumerationFunction);
ASSERT(platform);
Platform::initialize(platform);
- WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction, histogramEnumerationFunction, adjustAmountOfExternalAllocatedMemory);
+ WTF::initialize(currentTimeFunction, monotonicallyIncreasingTimeFunction, adjustAmountOfExternalAllocatedMemory);
WTF::initializeMainThread(callOnMainThreadFunction);
Heap::init();
@@ -247,6 +248,7 @@ void shutdownWithoutV8()
WTF::shutdown();
Platform::shutdown();
WebPrerenderingSupport::shutdown();
+ WTF::Partitions::shutdown();
}
// TODO(tkent): The following functions to wrap LayoutTestSupport should be
« no previous file with comments | « third_party/WebKit/Source/platform/testing/RunAllTests.cpp ('k') | third_party/WebKit/Source/wtf/WTF.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698