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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerThread.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, 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/SharedWorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
index e493e5c3a6f1a360870a79d353623156fb5e3c9d..35eb93e4c360db249acabb201d96296706a9fad9 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
@@ -58,7 +58,7 @@ PassRefPtrWillBeRawPtr<WorkerGlobalScope> SharedWorkerThread::createWorkerGlobal
WebThreadSupportingGC& SharedWorkerThread::backingThread()
{
if (!m_thread)
- m_thread = WebThreadSupportingGC::create("SharedWorker Thread");
+ m_thread = WebThreadSupportingGC::create("SharedWorker Thread", ThreadState::PerThreadHeapDisabled);
haraken 2016/01/07 08:06:21 It might be better to make ThreadState::PerThreadH
return *m_thread.get();
}

Powered by Google App Engine
This is Rietveld 408576698