| Index: Source/core/frame/DeviceSensorEventController.h
|
| diff --git a/Source/core/frame/DeviceSensorEventController.h b/Source/core/frame/DeviceSensorEventController.h
|
| index 085f1e2a1c71b79e0d7aa6e248347f329eec47e9..b3ed0e4001c7338632ac8643bdd632590b3d5c71 100644
|
| --- a/Source/core/frame/DeviceSensorEventController.h
|
| +++ b/Source/core/frame/DeviceSensorEventController.h
|
| @@ -41,7 +41,7 @@ public:
|
| void stopUpdating();
|
|
|
| protected:
|
| - explicit DeviceSensorEventController(Document&);
|
| + explicit DeviceSensorEventController(Page*);
|
| virtual ~DeviceSensorEventController();
|
|
|
| void dispatchDeviceEvent(const PassRefPtrWillBeRawPtr<Event>);
|
| @@ -51,6 +51,7 @@ protected:
|
| virtual void registerWithDispatcher() = 0;
|
| virtual void unregisterWithDispatcher() = 0;
|
| virtual bool isNullEvent(Event*) = 0;
|
| + virtual Document* document() = 0;
|
|
|
| bool m_hasEventListener;
|
|
|
| @@ -60,7 +61,6 @@ private:
|
|
|
| void fireDeviceEvent(Timer<DeviceSensorEventController>*);
|
|
|
| - Document& m_document;
|
| bool m_isActive;
|
| bool m_needsCheckingNullEvents;
|
| Timer<DeviceSensorEventController> m_timer;
|
|
|