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

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

Issue 2762423003: Made Frame constructors (and subclasses) take Page& instead of Page* (Closed)
Patch Set: Rebase 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 e864435226d862991a9816cad4617f57d8fc1615..866bca73ffdc589e3ff5721388e970ef14748535 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -27,7 +27,7 @@
namespace blink {
inline RemoteFrame::RemoteFrame(RemoteFrameClient* client,
- Page* page,
+ Page& page,
FrameOwner* owner)
: Frame(client, page, owner, RemoteWindowProxyManager::create(*this)),
m_securityContext(RemoteSecurityContext::create()) {
@@ -35,7 +35,7 @@ inline RemoteFrame::RemoteFrame(RemoteFrameClient* client,
}
RemoteFrame* RemoteFrame::create(RemoteFrameClient* client,
- Page* page,
+ Page& page,
FrameOwner* owner) {
return new RemoteFrame(client, page, owner);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698