| Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| index 0344fbc40e2d10223ebc84ec20e51940fc115a2f..3e51b793585c02e065b7ea5d57610831fc3760a4 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -230,11 +230,7 @@ void WebSharedWorkerImpl::postMessageToPageInspector(const String& message)
|
|
|
| void WebSharedWorkerImpl::postMessageToPageInspectorOnMainThread(const String& message)
|
| {
|
| - WorkerInspectorProxy::PageInspector* pageInspector = m_workerInspectorProxy->pageInspector();
|
| - if (!pageInspector)
|
| - return;
|
| - pageInspector->dispatchMessageFromWorker(message);
|
| -
|
| + m_workerInspectorProxy->dispatchMessageFromWorker(message);
|
| }
|
|
|
| void WebSharedWorkerImpl::workerGlobalScopeClosed()
|
|
|