| 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 c640a4a6ae139af996329f988f9855e07a5d1b48..cdaf05210da35c5d79e60c11b65791c111ebe5f8 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
|
| @@ -138,7 +138,7 @@ void WorkerInspectorProxy::connectToInspector(WorkerInspectorProxy::PageInspecto
|
| return;
|
| DCHECK(!m_pageInspector);
|
| m_pageInspector = pageInspector;
|
| - m_workerThread->appendDebuggerTask(threadSafeBind(connectToWorkerGlobalScopeInspectorTask, AllowCrossThreadAccess(m_workerThread)));
|
| + m_workerThread->appendDebuggerTask(threadSafeBind(connectToWorkerGlobalScopeInspectorTask, crossThreadUnretained(m_workerThread)));
|
| }
|
|
|
| static void disconnectFromWorkerGlobalScopeInspectorTask(WorkerThread* workerThread)
|
| @@ -152,7 +152,7 @@ void WorkerInspectorProxy::disconnectFromInspector(WorkerInspectorProxy::PageIns
|
| DCHECK(m_pageInspector == pageInspector);
|
| m_pageInspector = nullptr;
|
| if (m_workerThread)
|
| - m_workerThread->appendDebuggerTask(threadSafeBind(disconnectFromWorkerGlobalScopeInspectorTask, AllowCrossThreadAccess(m_workerThread)));
|
| + m_workerThread->appendDebuggerTask(threadSafeBind(disconnectFromWorkerGlobalScopeInspectorTask, crossThreadUnretained(m_workerThread)));
|
| }
|
|
|
| static void dispatchOnInspectorBackendTask(const String& message, WorkerThread* workerThread)
|
| @@ -164,7 +164,7 @@ static void dispatchOnInspectorBackendTask(const String& message, WorkerThread*
|
| void WorkerInspectorProxy::sendMessageToInspector(const String& message)
|
| {
|
| if (m_workerThread)
|
| - m_workerThread->appendDebuggerTask(threadSafeBind(dispatchOnInspectorBackendTask, message, AllowCrossThreadAccess(m_workerThread)));
|
| + m_workerThread->appendDebuggerTask(threadSafeBind(dispatchOnInspectorBackendTask, message, crossThreadUnretained(m_workerThread)));
|
| }
|
|
|
| void WorkerInspectorProxy::writeTimelineStartedEvent(const String& sessionId)
|
|
|