summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/DeviceOrientationController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/DeviceOrientationController.cpp')
-rw-r--r--WebCore/dom/DeviceOrientationController.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/dom/DeviceOrientationController.cpp b/WebCore/dom/DeviceOrientationController.cpp
index a744366..60fcf13 100644
--- a/WebCore/dom/DeviceOrientationController.cpp
+++ b/WebCore/dom/DeviceOrientationController.cpp
@@ -41,6 +41,11 @@ DeviceOrientationController::DeviceOrientationController(Page* page, DeviceOrien
m_client->setController(this);
}
+DeviceOrientationController::~DeviceOrientationController()
+{
+ m_client->deviceOrientationControllerDestroyed();
+}
+
void DeviceOrientationController::timerFired(Timer<DeviceOrientationController>* timer)
{
ASSERT_UNUSED(timer, timer == &m_timer);