| Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index a7e092e78a1d2d9515eb6316e675ac389ee0cdfc..b4914dbf8d60b257c6125424a5e75dfe18faddcb 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -262,13 +262,11 @@ void WebEmbeddedWorkerImpl::postTaskToLoader(const WebTraceLocation& location, s
|
| m_mainFrame->frame()->document()->postTask(location, std::move(task));
|
| }
|
|
|
| -bool WebEmbeddedWorkerImpl::postTaskToWorkerGlobalScope(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task)
|
| +void WebEmbeddedWorkerImpl::postTaskToWorkerGlobalScope(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task)
|
| {
|
| if (m_askedToTerminate || !m_workerThread)
|
| - return false;
|
| -
|
| + return;
|
| m_workerThread->postTask(location, std::move(task));
|
| - return !m_workerThread->terminated();
|
| }
|
|
|
| void WebEmbeddedWorkerImpl::prepareShadowPageForLoader()
|
|
|