diff options
Diffstat (limited to 'Source/WebCore/dom/DeviceOrientationController.h')
-rw-r--r-- | Source/WebCore/dom/DeviceOrientationController.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/dom/DeviceOrientationController.h b/Source/WebCore/dom/DeviceOrientationController.h index bfe451745..f5e6f9503 100644 --- a/Source/WebCore/dom/DeviceOrientationController.h +++ b/Source/WebCore/dom/DeviceOrientationController.h @@ -41,7 +41,7 @@ class DeviceOrientationController : public Supplement<Page> { public: ~DeviceOrientationController(); - static PassOwnPtr<DeviceOrientationController> create(DeviceOrientationClient*); + static PassOwnPtr<DeviceOrientationController> create(Page*, DeviceOrientationClient*); void addListener(DOMWindow*); void removeListener(DOMWindow*); @@ -61,11 +61,12 @@ public: static bool isActiveAt(Page*); private: - explicit DeviceOrientationController(DeviceOrientationClient*); + explicit DeviceOrientationController(Page*, DeviceOrientationClient*); void timerFired(Timer<DeviceOrientationController>*); DeviceOrientationClient* m_client; + Page* m_page; typedef HashCountedSet<RefPtr<DOMWindow> > ListenersCountedSet; ListenersCountedSet m_listeners; ListenersCountedSet m_suspendedListeners; |