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

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

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.h
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.h b/third_party/WebKit/Source/core/frame/RemoteFrame.h
index f2fdbf8263ee678e6ae3606d691a2862d8a16cc4..16c4d203784094289ac27d5544c86383557d053d 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.h
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.h
@@ -21,7 +21,7 @@ struct FrameLoadRequest;
class CORE_EXPORT RemoteFrame final : public Frame {
public:
- static RemoteFrame* create(RemoteFrameClient*, Page*, FrameOwner*);
+ static RemoteFrame* create(RemoteFrameClient*, Page&, FrameOwner*);
~RemoteFrame() override;
@@ -57,7 +57,7 @@ class CORE_EXPORT RemoteFrame final : public Frame {
RemoteFrameClient* client() const;
private:
- RemoteFrame(RemoteFrameClient*, Page*, FrameOwner*);
+ RemoteFrame(RemoteFrameClient*, Page&, FrameOwner*);
// Intentionally private to prevent redundant checks when the type is
// already RemoteFrame.
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698