| Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| index 7fc496960bebaa06b2fff17c0e1f9429162ae43d..5e363212e773c4589531a0eddad2afc2331fe250 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| @@ -11,8 +11,8 @@
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/workers/WorkerGlobalScopeProxy.h"
|
| +#include "core/workers/WorkerScript.h"
|
| #include "core/workers/WorkerScriptLoader.h"
|
| -#include "core/workers/WorkerThread.h"
|
| #include "platform/network/ContentSecurityPolicyResponseHeaders.h"
|
| #include "wtf/MainThread.h"
|
|
|
| @@ -98,7 +98,7 @@ void InProcessWorkerBase::onFinished()
|
| dispatchEvent(Event::createCancelable(EventTypeNames::error));
|
| } else {
|
| ASSERT(m_contextProxy);
|
| - WorkerThreadStartMode startMode = DontPauseWorkerGlobalScopeOnStart;
|
| + WorkerScriptStartMode startMode = DontPauseWorkerGlobalScopeOnStart;
|
| if (InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart(executionContext()))
|
| startMode = PauseWorkerGlobalScopeOnStart;
|
| m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(), m_scriptLoader->script(), startMode);
|
|
|