| Index: third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp b/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| index a8f88b4b003eb521fdbb6b195354174b8a6ee106..3514ae142c2616cf0c68e7c6e429db40a1df195c 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| @@ -28,8 +28,7 @@ void waitForSignalTask(WorkerThread* workerThread,
|
| EXPECT_TRUE(workerThread->isCurrentThread());
|
|
|
| // Notify the main thread that the debugger task is waiting for the signal.
|
| - workerThread->workerReportingProxy()
|
| - .getParentFrameTaskRunners()
|
| + workerThread->getParentFrameTaskRunners()
|
| ->get(TaskType::UnspecedTimer)
|
| ->postTask(BLINK_FROM_HERE, crossThreadBind(&testing::exitRunLoop));
|
| waitableEvent->wait();
|
| @@ -46,8 +45,9 @@ class WorkerThreadTest : public ::testing::Test {
|
| m_reportingProxy = WTF::makeUnique<MockWorkerReportingProxy>();
|
| m_securityOrigin =
|
| SecurityOrigin::create(KURL(ParsedURLString, "http://fake.url/"));
|
| - m_workerThread = WTF::wrapUnique(new WorkerThreadForTest(
|
| - m_loaderProxyProvider.get(), *m_reportingProxy));
|
| + m_workerThread = WTF::wrapUnique(
|
| + new WorkerThreadForTest(m_loaderProxyProvider.get(), *m_reportingProxy,
|
| + ParentFrameTaskRunners::create(nullptr)));
|
| m_lifecycleObserver = new MockWorkerThreadLifecycleObserver(
|
| m_workerThread->getWorkerThreadLifecycleContext());
|
| }
|
|
|