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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp

Issue 2625293002: Remove ThreadHeapMode (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
index 23cf3ff269289c3f525af6eed60bf5b304fee5ff..ea797969b1f0878a2ab0db60a535113c567fddf3 100644
--- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
@@ -46,16 +46,13 @@ static void removeWorkerIsolate(v8::Isolate* isolate) {
WorkerBackingThread::WorkerBackingThread(const char* name,
bool shouldCallGCOnShutdown)
- : m_backingThread(
- WebThreadSupportingGC::create(name, BlinkGC::PerThreadHeapMode)),
+ : m_backingThread(WebThreadSupportingGC::create(name)),
m_isOwningThread(true),
m_shouldCallGCOnShutdown(shouldCallGCOnShutdown) {}
WorkerBackingThread::WorkerBackingThread(WebThread* thread,
bool shouldCallGCOnShutdown)
- : m_backingThread(
- WebThreadSupportingGC::createForThread(thread,
- BlinkGC::PerThreadHeapMode)),
+ : m_backingThread(WebThreadSupportingGC::createForThread(thread)),
m_isOwningThread(false),
m_shouldCallGCOnShutdown(shouldCallGCOnShutdown) {}

Powered by Google App Engine
This is Rietveld 408576698