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

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 a9cc00729bda991f880aaffbd5a8f0f838619df6..ec9d27cab60c77dde5b2490f0c3fefa7dbbd5ff1 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, MainThreadHeapMode))
+WorkerBackingThread::WorkerBackingThread(const char* name, bool shouldCallGCOnShutdown, ThreadHeapMode threadHeapMode)
+ : m_backingThread(WebThreadSupportingGC::create(name, threadHeapMode))
, m_isOwningThread(true)
, m_shouldCallGCOnShutdown(shouldCallGCOnShutdown)
{

Powered by Google App Engine
This is Rietveld 408576698