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

Unified Diff: third_party/WebKit/Source/core/workers/DedicatedWorkerThread.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/DedicatedWorkerThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
index 72dbedbd7781ccfe783262314abfe601431013c0..999f26b2cf2e543b85a01477e5308a0b0be82ef9 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp
@@ -46,7 +46,7 @@ std::unique_ptr<DedicatedWorkerThread> DedicatedWorkerThread::create(PassRefPtr<
DedicatedWorkerThread::DedicatedWorkerThread(PassRefPtr<WorkerLoaderProxy> workerLoaderProxy, InProcessWorkerObjectProxy& workerObjectProxy, double timeOrigin)
: WorkerThread(std::move(workerLoaderProxy), workerObjectProxy)
- , m_workerBackingThread(WorkerBackingThread::create("DedicatedWorker Thread"))
+ , m_workerBackingThread(WorkerBackingThread::create("DedicatedWorker Thread", BlinkGC::MainThreadHeapMode))
, m_workerObjectProxy(workerObjectProxy)
, m_timeOrigin(timeOrigin)
{

Powered by Google App Engine
This is Rietveld 408576698