Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

Issue 2760813002: Change RemoteFrame to take a Page instead of a FrameHost (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index e001e426f60429308bc9028faa146aa94119efaa..e864435226d862991a9816cad4617f57d8fc1615 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -27,20 +27,17 @@
namespace blink {
inline RemoteFrame::RemoteFrame(RemoteFrameClient* client,
- FrameHost* host,
+ Page* page,
FrameOwner* owner)
- : Frame(client,
- host ? &host->page() : nullptr,
- owner,
- RemoteWindowProxyManager::create(*this)),
+ : Frame(client, page, owner, RemoteWindowProxyManager::create(*this)),
m_securityContext(RemoteSecurityContext::create()) {
m_domWindow = RemoteDOMWindow::create(*this);
}
RemoteFrame* RemoteFrame::create(RemoteFrameClient* client,
- FrameHost* host,
+ Page* page,
FrameOwner* owner) {
- return new RemoteFrame(client, host, owner);
+ return new RemoteFrame(client, page, owner);
}
RemoteFrame::~RemoteFrame() {
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698