Index: Source/modules/device_orientation/DeviceOrientationController.h |
diff --git a/Source/modules/device_orientation/DeviceOrientationController.h b/Source/modules/device_orientation/DeviceOrientationController.h |
index 401963ecf0b674131686d93069268d9a5eb7294a..71484c63335a3befe23ac733983bf638407d7df8 100644 |
--- a/Source/modules/device_orientation/DeviceOrientationController.h |
+++ b/Source/modules/device_orientation/DeviceOrientationController.h |
@@ -42,7 +42,7 @@ public: |
virtual ~DeviceOrientationController(); |
static const char* supplementName(); |
- static DeviceOrientationController* from(Document*); |
+ static DeviceOrientationController& from(Document&); |
void didChangeDeviceOrientation(WebCore::DeviceOrientationData*); |
@@ -52,7 +52,7 @@ public: |
virtual void didRemoveAllEventListeners(DOMWindow*) OVERRIDE; |
private: |
- explicit DeviceOrientationController(Document*); |
+ explicit DeviceOrientationController(Document&); |
virtual void registerWithDispatcher() OVERRIDE; |
virtual void unregisterWithDispatcher() OVERRIDE; |