| 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 2ba42a23abf2a2dbbcc21f99e7df660e33cf1740..f0aeeeb4712cf10c1c613ac50839fcb527b05ecf 100644
|
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -132,7 +132,8 @@ void WebSharedWorkerImpl::initializeLoader() {
|
| // Browser process when the worker is created (similar to
|
| // RenderThread::OnCreateNewView).
|
| m_mainFrame = toWebLocalFrameImpl(
|
| - WebLocalFrame::create(WebTreeScopeType::Document, this));
|
| + WebLocalFrame::create(WebTreeScopeType::Document, this,
|
| + Platform::current()->interfaceProvider(), nullptr));
|
| m_webView->setMainFrame(m_mainFrame.get());
|
| m_mainFrame->setDevToolsAgentClient(this);
|
|
|
| @@ -200,10 +201,6 @@ int64_t WebSharedWorkerImpl::serviceWorkerID(WebDataSource& dataSource) {
|
| return m_networkProvider->serviceWorkerID(dataSource);
|
| }
|
|
|
| -InterfaceProvider* WebSharedWorkerImpl::interfaceProvider() {
|
| - return Platform::current()->interfaceProvider();
|
| -}
|
| -
|
| void WebSharedWorkerImpl::sendProtocolMessage(int sessionId,
|
| int callId,
|
| const WebString& message,
|
|
|