Index: Source/modules/device_orientation/DeviceSensorEventController.h |
diff --git a/Source/modules/device_orientation/DeviceSensorEventController.h b/Source/modules/device_orientation/DeviceSensorEventController.h |
index c15e184ac4f8665eb94086a31cc5abbadf9ab9af..0b0950c32bb2f61af9bcdee5ec77cb82f23498e6 100644 |
--- a/Source/modules/device_orientation/DeviceSensorEventController.h |
+++ b/Source/modules/device_orientation/DeviceSensorEventController.h |
@@ -41,7 +41,7 @@ public: |
void stopUpdating(); |
protected: |
- explicit DeviceSensorEventController(Document*); |
+ explicit DeviceSensorEventController(Document&); |
virtual ~DeviceSensorEventController(); |
void dispatchDeviceEvent(const PassRefPtr<Event>); |
@@ -60,7 +60,7 @@ private: |
void fireDeviceEvent(Timer<DeviceSensorEventController>*); |
- Document* m_document; |
+ Document& m_document; |
bool m_isActive; |
bool m_needsCheckingNullEvents; |
Timer<DeviceSensorEventController> m_timer; |