| Index: Source/core/frame/RemoteFrame.cpp
|
| diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp
|
| index 54ebd930fefbe39eb35bebbe19099f2c94046a94..28bed4677ace03842aa993b97f019ae7b38d0d8c 100644
|
| --- a/Source/core/frame/RemoteFrame.cpp
|
| +++ b/Source/core/frame/RemoteFrame.cpp
|
| @@ -5,17 +5,18 @@
|
| #include "config.h"
|
| #include "core/frame/RemoteFrame.h"
|
|
|
| +#include "core/frame/RemoteFrameClient.h"
|
| #include "core/frame/RemoteFrameView.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
|
|
| namespace blink {
|
|
|
| -inline RemoteFrame::RemoteFrame(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| +inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner)
|
| : Frame(client, host, owner)
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<RemoteFrame> RemoteFrame::create(FrameClient* client, FrameHost* host, FrameOwner* owner)
|
| +PassRefPtrWillBeRawPtr<RemoteFrame> RemoteFrame::create(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner)
|
| {
|
| return adoptRefWillBeNoop(new RemoteFrame(client, host, owner));
|
| }
|
| @@ -25,6 +26,11 @@ RemoteFrame::~RemoteFrame()
|
| setView(nullptr);
|
| }
|
|
|
| +void RemoteFrame::navigate(Document&, const KURL& url, const Referrer& referrer, bool lockBackForwardList)
|
| +{
|
| + remoteFrameClient()->navigate(ResourceRequest(url, referrer), lockBackForwardList);
|
| +}
|
| +
|
| void RemoteFrame::detach()
|
| {
|
| detachChildren();
|
| @@ -48,4 +54,9 @@ void RemoteFrame::createView()
|
| }
|
| }
|
|
|
| +RemoteFrameClient* RemoteFrame::remoteFrameClient() const
|
| +{
|
| + return static_cast<RemoteFrameClient*>(client());
|
| +}
|
| +
|
| } // namespace blink
|
|
|