| Index: Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
|
| index b85fd9c5693d880b81e4e85914786487ecbfd702..cbd5e8d753335880654eb8c814187f019d9cb746 100644
|
| --- a/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -44,6 +44,7 @@ WebRemoteFrameImpl::~WebRemoteFrameImpl()
|
| #if ENABLE(OILPAN)
|
| DEFINE_TRACE(WebRemoteFrameImpl)
|
| {
|
| + visitor->trace(m_frameClient);
|
| visitor->trace(m_frame);
|
| visitor->trace(m_ownersForChildren);
|
| visitor->template registerWeakMembers<WebFrame, &WebFrame::clearWeakFrames>(this);
|
| @@ -722,7 +723,7 @@ WebLocalFrame* WebRemoteFrameImpl::createLocalChild(WebTreeScopeType scope, cons
|
|
|
| void WebRemoteFrameImpl::initializeCoreFrame(FrameHost* host, FrameOwner* owner, const AtomicString& name)
|
| {
|
| - setCoreFrame(RemoteFrame::create(&m_frameClient, host, owner));
|
| + setCoreFrame(RemoteFrame::create(m_frameClient.get(), host, owner));
|
| frame()->createView();
|
| m_frame->tree().setName(name, nullAtom);
|
| }
|
| @@ -803,7 +804,7 @@ void WebRemoteFrameImpl::didStopLoading()
|
|
|
| WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameClient* client)
|
| : WebRemoteFrame(scope)
|
| - , m_frameClient(this)
|
| + , m_frameClient(RemoteFrameClientImpl::create(this))
|
| , m_client(client)
|
| #if ENABLE(OILPAN)
|
| , m_selfKeepAlive(this)
|
|
|