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

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

Issue 1919773002: Revert of Prepare for multiple ThreadHeaps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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 252e3d0b3958f88f19d62b7121ca5ec70baba798..dfed33dd64a964f78c83fc6e41e98167683c1dd5 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::Partitions::initialize(maxObservedSizeFunction);
WTF::initialize(callOnMainThreadFunction);
- ProcessHeap::init();
+ ThreadHeap::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();
- ProcessHeap::shutdown();
+ ThreadHeap::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/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698