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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h

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/WorkerThreadTestHelper.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
index 017b9229271ca448029d7e5a22d0766a3916a94d..178dca58d0687c36482cff01c87098925c679992 100644
--- a/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
+++ b/third_party/WebKit/Source/core/workers/WorkerThreadTestHelper.h
@@ -100,9 +100,10 @@ class WorkerThreadForTest : public WorkerThread {
public:
WorkerThreadForTest(
WorkerLoaderProxyProvider* mockWorkerLoaderProxyProvider,
- WorkerReportingProxy& mockWorkerReportingProxy)
+ WorkerReportingProxy& mockWorkerReportingProxy,
+ BlinkGC::ThreadHeapMode threadHeapMode)
: WorkerThread(WorkerLoaderProxy::create(mockWorkerLoaderProxyProvider), mockWorkerReportingProxy)
- , m_workerBackingThread(WorkerBackingThread::createForTest("Test thread"))
+ , m_workerBackingThread(WorkerBackingThread::createForTest("Test thread", threadHeapMode))
{
}

Powered by Google App Engine
This is Rietveld 408576698