Index: third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
index a697e574786117fc99942d1fe8a18e77853b1ed7..9b9a877fb401ba625233eef506f6dc1d549cd1a3 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerMessagingProxy.cpp |
@@ -97,7 +97,7 @@ |
m_workerInspectorProxy->setWorkerGlobalScopeProxy(nullptr); |
} |
-void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode) |
+void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode) |
{ |
// FIXME: This need to be revisited when we support nested worker one day |
ASSERT(m_executionContext->isDocument()); |
@@ -111,7 +111,6 @@ |
ContentSecurityPolicy* csp = m_workerObject->contentSecurityPolicy() ? m_workerObject->contentSecurityPolicy() : document->contentSecurityPolicy(); |
ASSERT(csp); |
- WorkerThreadStartMode startMode = m_workerInspectorProxy->workerStartMode(document); |
OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, nullptr, startMode, csp->headers(), starterOrigin, m_workerClients.release()); |
double originTime = document->loader() ? document->loader()->timing().referenceMonotonicTime() : monotonicallyIncreasingTime(); |