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 |