| 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 22a18f09cd705097b663188787f921b2e8fba647..e372b8403482befd5df6fb87a67a837572201850 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
|
| @@ -51,7 +51,7 @@ const String& WorkerInspectorProxy::inspectorId() {
|
|
|
| WorkerThreadStartMode WorkerInspectorProxy::workerStartMode(
|
| Document* document) {
|
| - if (InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(document))
|
| + if (probe::shouldWaitForDebuggerOnWorkerStart(document))
|
| return PauseWorkerGlobalScopeOnStart;
|
| return DontPauseWorkerGlobalScopeOnStart;
|
| }
|
| @@ -65,16 +65,15 @@ void WorkerInspectorProxy::workerThreadCreated(Document* document,
|
| inspectorProxies().insert(this);
|
| // We expect everyone starting worker thread to synchronously ask for
|
| // workerStartMode right before.
|
| - bool waitingForDebugger =
|
| - InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(document);
|
| - InspectorInstrumentation::didStartWorker(document, this, waitingForDebugger);
|
| + bool waitingForDebugger = probe::shouldWaitForDebuggerOnWorkerStart(document);
|
| + probe::didStartWorker(document, this, waitingForDebugger);
|
| }
|
|
|
| void WorkerInspectorProxy::workerThreadTerminated() {
|
| if (m_workerThread) {
|
| DCHECK(inspectorProxies().contains(this));
|
| inspectorProxies().erase(this);
|
| - InspectorInstrumentation::workerTerminated(m_document, this);
|
| + probe::workerTerminated(m_document, this);
|
| }
|
|
|
| m_workerThread = nullptr;
|
|
|