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

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

Issue 2335063003: Prepare DedicatedWorker for per thread heap (Closed)
Patch Set: fix Created 4 years, 3 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 a28ee9ee32730b1f6b0f084289fceb719a11bb62..864118a30c0d26bbf39420236ec5d04dda1d8536 100644
--- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
@@ -47,8 +47,8 @@ static void removeWorkerIsolate(v8::Isolate* isolate)
isolates().remove(isolate);
}
-WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown)
- : m_backingThread(WebThreadSupportingGC::create(name, BlinkGC::MainThreadHeapMode))
+WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown, BlinkGC::ThreadHeapMode threadHeapMode)
+ : m_backingThread(WebThreadSupportingGC::create(name, threadHeapMode))
, m_isOwningThread(true)
, m_shouldCallGCOnShutdown(shouldCallGCOnShutdown)
{

Powered by Google App Engine
This is Rietveld 408576698