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

Unified Diff: Source/modules/device_orientation/DeviceOrientationInspectorAgent.h

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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: Source/modules/device_orientation/DeviceOrientationInspectorAgent.h
diff --git a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.h b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.h
index 2918cf20f9af8fdb7213c7ec0b22fb16fea9ffd0..217e5e1aca83d5b99c33943015da407d8c1e8e42 100644
--- a/Source/modules/device_orientation/DeviceOrientationInspectorAgent.h
+++ b/Source/modules/device_orientation/DeviceOrientationInspectorAgent.h
@@ -17,7 +17,7 @@ typedef String ErrorString;
class DeviceOrientationInspectorAgent FINAL : public InspectorBaseAgent<DeviceOrientationInspectorAgent>, public InspectorBackendDispatcher::DeviceOrientationCommandHandler {
WTF_MAKE_NONCOPYABLE(DeviceOrientationInspectorAgent);
public:
- static void provideTo(Page*);
+ static void provideTo(Page&);
virtual ~DeviceOrientationInspectorAgent();
@@ -26,8 +26,8 @@ public:
virtual void clearDeviceOrientationOverride(ErrorString*) OVERRIDE;
private:
- explicit DeviceOrientationInspectorAgent(Page*);
- Page* m_page;
+ explicit DeviceOrientationInspectorAgent(Page&);
+ Page& m_page;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698