Index: Source/modules/device_orientation/DeviceMotionController.h |
diff --git a/Source/modules/device_orientation/DeviceMotionController.h b/Source/modules/device_orientation/DeviceMotionController.h |
index 2abbe7f713116579eb81524f14704b376f413b71..10915c22bbb0b221dde9f4586147a8d031807927 100644 |
--- a/Source/modules/device_orientation/DeviceMotionController.h |
+++ b/Source/modules/device_orientation/DeviceMotionController.h |
@@ -43,12 +43,12 @@ public: |
virtual ~DeviceMotionController(); |
static const char* supplementName(); |
- static DeviceMotionController* from(Document*); |
+ static DeviceMotionController& from(Document&); |
void didChangeDeviceMotion(DeviceMotionData*); |
private: |
- explicit DeviceMotionController(Document*); |
+ explicit DeviceMotionController(Document&); |
virtual void registerWithDispatcher() OVERRIDE; |
virtual void unregisterWithDispatcher() OVERRIDE; |