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

Unified Diff: third_party/WebKit/Source/platform/exported/Platform.cpp

Issue 1477023003: Refactor the Heap into ThreadHeap to prepare for per thread heaps Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/platform/exported/Platform.cpp
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp
index d78268f61838747b130645940de022d31a15a752..6fedfe75108e78b638933ead3591c881cadcca86 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -91,7 +91,7 @@ void Platform::initialize(Platform* platform)
WTF::initialize();
WTF::initializeMainThread(callOnMainThreadFunction);
- Heap::init();
+ ProcessHeap::init();
ThreadState::attachMainThread();
@@ -123,7 +123,7 @@ void Platform::shutdown()
// so that the main thread won't get involved in a GC during the shutdown.
ThreadState::detachMainThread();
- Heap::shutdown();
+ ProcessHeap::shutdown();
WTF::shutdown();
WTF::Partitions::shutdown();
« no previous file with comments | « third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp ('k') | third_party/WebKit/Source/platform/heap/BlinkGC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698