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..349029cda29ec9fd121bbad77f5bb61fd8893192 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp |
@@ -98,10 +98,7 @@ void InProcessWorkerBase::onFinished() |
dispatchEvent(Event::createCancelable(EventTypeNames::error)); |
} else { |
ASSERT(m_contextProxy); |
- WorkerThreadStartMode startMode = DontPauseWorkerGlobalScopeOnStart; |
- if (InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart(executionContext())) |
- startMode = PauseWorkerGlobalScopeOnStart; |
- m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(), m_scriptLoader->script(), startMode); |
+ m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(), m_scriptLoader->script()); |
InspectorInstrumentation::scriptImported(executionContext(), m_scriptLoader->identifier(), m_scriptLoader->script()); |
} |
m_contentSecurityPolicy = m_scriptLoader->releaseContentSecurityPolicy(); |