Index: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp |
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp |
index 19c37217b25680efa6a0448614977029505095f6..204b90e92cca523e18cac520e64ca2e373cf11ef 100644 |
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp |
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp |
@@ -33,20 +33,11 @@ |
{ |
} |
-WorkerThreadStartMode WorkerInspectorProxy::workerStartMode(ExecutionContext* context) |
-{ |
- if (InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(context)) |
- return PauseWorkerGlobalScopeOnStart; |
- return DontPauseWorkerGlobalScopeOnStart; |
-} |
- |
void WorkerInspectorProxy::workerThreadCreated(ExecutionContext* context, WorkerThread* workerThread, const KURL& url) |
{ |
m_workerThread = workerThread; |
m_executionContext = context; |
- // We expect everyone starting worker thread to synchronously ask for workerStartMode right before. |
- bool waitingForDebugger = InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(context); |
- InspectorInstrumentation::didStartWorker(context, this, url, waitingForDebugger); |
+ InspectorInstrumentation::didStartWorker(context, this, url); |
} |
void WorkerInspectorProxy::workerThreadTerminated() |