| Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| index 60f6c2b262be16b0e559971a9c224c4240b62283..d153151c319938570df089ac06d7385a5f89d4e2 100644
|
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -6,7 +6,6 @@
|
| #include "web/WebRemoteFrameImpl.h"
|
|
|
| #include "core/frame/FrameView.h"
|
| -#include "core/frame/RemoteFrame.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/page/Page.h"
|
| #include "platform/heap/Handle.h"
|
| @@ -28,7 +27,7 @@ WebRemoteFrame* WebRemoteFrame::create(WebTreeScopeType scope, WebRemoteFrameCli
|
| return WebRemoteFrameImpl::create(scope, client);
|
| }
|
|
|
| -WebRemoteFrame* WebRemoteFrameImpl::create(WebTreeScopeType scope, WebRemoteFrameClient* client)
|
| +WebRemoteFrameImpl* WebRemoteFrameImpl::create(WebTreeScopeType scope, WebRemoteFrameClient* client)
|
| {
|
| WebRemoteFrameImpl* frame = new WebRemoteFrameImpl(scope, client);
|
| #if ENABLE(OILPAN)
|
| @@ -717,11 +716,11 @@ WebLocalFrame* WebRemoteFrameImpl::createLocalChild(WebTreeScopeType scope, cons
|
| }
|
|
|
|
|
| -void WebRemoteFrameImpl::initializeCoreFrame(FrameHost* host, FrameOwner* owner, const AtomicString& name)
|
| +void WebRemoteFrameImpl::initializeCoreFrame(FrameHost* host, FrameOwner* owner, const AtomicString& name, const AtomicString& fallbackName)
|
| {
|
| setCoreFrame(RemoteFrame::create(m_frameClient.get(), host, owner));
|
| frame()->createView();
|
| - m_frame->tree().setName(name, nullAtom);
|
| + m_frame->tree().setName(name, fallbackName);
|
| }
|
|
|
| WebRemoteFrame* WebRemoteFrameImpl::createRemoteChild(WebTreeScopeType scope, const WebString& name, WebSandboxFlags sandboxFlags, WebRemoteFrameClient* client)
|
| @@ -730,7 +729,7 @@ WebRemoteFrame* WebRemoteFrameImpl::createRemoteChild(WebTreeScopeType scope, co
|
| WillBeHeapHashMap<WebFrame*, OwnPtrWillBeMember<FrameOwner>>::AddResult result =
|
| m_ownersForChildren.add(child, RemoteBridgeFrameOwner::create(nullptr, static_cast<SandboxFlags>(sandboxFlags), WebFrameOwnerProperties()));
|
| appendChild(child);
|
| - child->initializeCoreFrame(frame()->host(), result.storedValue->value.get(), name);
|
| + child->initializeCoreFrame(frame()->host(), result.storedValue->value.get(), name, nullAtom);
|
| return child;
|
| }
|
|
|
|
|