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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorkerThread.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/SharedWorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
index 081c66850049bcf75b34653b170ab872c95263f8..d68b59581a9bbe4f8d69e55b2a9c20fab2086bf0 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorkerThread.cpp
@@ -45,7 +45,7 @@ std::unique_ptr<SharedWorkerThread> SharedWorkerThread::create(const String& nam
SharedWorkerThread::SharedWorkerThread(const String& name, PassRefPtr<WorkerLoaderProxy> workerLoaderProxy, WorkerReportingProxy& workerReportingProxy)
: WorkerThread(std::move(workerLoaderProxy), workerReportingProxy)
- , m_workerBackingThread(WorkerBackingThread::create("SharedWorker Thread"))
+ , m_workerBackingThread(WorkerBackingThread::create("SharedWorker Thread", BlinkGC::MainThreadHeapMode))
, m_name(name.isolatedCopy())
{
}

Powered by Google App Engine
This is Rietveld 408576698