| Index: Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/Source/web/WebEmbeddedWorkerImpl.cpp b/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index 7a5166085e9834875fbd5faa1c42ac7c0689b76d..68fdee4d16ab353016fd8be326cac39f0cdc748a 100644
|
| --- a/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -84,8 +84,8 @@ WebEmbeddedWorkerImpl::WebEmbeddedWorkerImpl(PassOwnPtr<WebServiceWorkerContextC
|
| : m_workerContextClient(client)
|
| , m_contentSettingsClient(ContentSettingsClient)
|
| , m_workerInspectorProxy(WorkerInspectorProxy::create())
|
| - , m_webView(0)
|
| - , m_mainFrame(0)
|
| + , m_webView(nullptr)
|
| + , m_mainFrame(nullptr)
|
| , m_loadingShadowPage(false)
|
| , m_askedToTerminate(false)
|
| , m_waitingForDebuggerState(NotWaitingForDebugger)
|
| @@ -219,7 +219,7 @@ void WebEmbeddedWorkerImpl::prepareShadowPageForLoader()
|
| settings->setAllowDisplayOfInsecureContent(false);
|
| settings->setAllowRunningOfInsecureContent(false);
|
| 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 wait for debugger then it is the good time to do that.
|
|
|