| 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 22233743afaac94deecec6385840aa205d5ce9f4..49af0227e95cf463d6a2d467e79c4ee0d000c579 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp
|
| @@ -25,7 +25,7 @@ void waitForTermination(WorkerThread* workerThread)
|
| EXPECT_TRUE(workerThread->isCurrentThread());
|
|
|
| // Notify the main thread that the debugger task is waiting for termination.
|
| - Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, threadSafeBind(&testing::exitRunLoop));
|
| + Platform::current()->mainThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, crossThreadBind(&testing::exitRunLoop));
|
| workerThread->terminationEvent()->wait();
|
| }
|
|
|
| @@ -189,7 +189,7 @@ TEST_F(WorkerThreadTest, StartAndTerminateOnInitialization_TerminateWhileDebugge
|
| V8CacheOptionsDefault);
|
| m_workerThread->start(std::move(startupData));
|
|
|
| - m_workerThread->appendDebuggerTask(threadSafeBind(&waitForTermination, crossThreadUnretained(m_workerThread.get())));
|
| + m_workerThread->appendDebuggerTask(crossThreadBind(&waitForTermination, crossThreadUnretained(m_workerThread.get())));
|
|
|
| // Wait for the debugger task.
|
| testing::enterRunLoop();
|
|
|