| Index: Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
|
| index 110462e47290e0d1ff16631adc41c2627ef26567..c767f89f3d2d8d41745429f97b71ca64e2462253 100644
|
| --- a/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -81,8 +81,8 @@ namespace blink {
|
| // possible.
|
|
|
| WebSharedWorkerImpl::WebSharedWorkerImpl(WebSharedWorkerClient* client)
|
| - : m_webView(0)
|
| - , m_mainFrame(0)
|
| + : m_webView(nullptr)
|
| + , m_mainFrame(nullptr)
|
| , m_askedToTerminate(false)
|
| , m_workerInspectorProxy(WorkerInspectorProxy::create())
|
| , m_client(client)
|
| @@ -133,7 +133,7 @@ void WebSharedWorkerImpl::initializeLoader()
|
| // FIXME: Settings information should be passed to the Worker process from Browser process when the worker
|
| // is created (similar to RenderThread::OnCreateNewView).
|
| m_mainFrame = toWebLocalFrameImpl(WebLocalFrame::create(WebTreeScopeType::Document, this));
|
| - m_webView->setMainFrame(m_mainFrame);
|
| + m_webView->setMainFrame(m_mainFrame.get());
|
| m_mainFrame->setDevToolsAgentClient(this);
|
|
|
| // If we were asked to pause worker context on start and wait for debugger then it is the good time to do that.
|
|
|