summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-10-05 15:00:26 +0100
committerSteve Block <steveblock@google.com>2010-10-07 11:02:45 +0100
commiteea0127e7a587bbd6825bb2f47e86e70cb0a5be2 (patch)
tree00042ce618802e4f62cf39bfad7322140fff8ebf /WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
parentc287263a2fac16a4d759948cf5b41f5d1ae0ddbf (diff)
downloadexternal_webkit-eea0127e7a587bbd6825bb2f47e86e70cb0a5be2.zip
external_webkit-eea0127e7a587bbd6825bb2f47e86e70cb0a5be2.tar.gz
external_webkit-eea0127e7a587bbd6825bb2f47e86e70cb0a5be2.tar.bz2
Merge WebKit at r68651 : Implement controller destroyed callbacks for DeviceOrientation and DeviceMotion
See http://trac.webkit.org/changeset/67949 Change-Id: Ide94a861a7468d4eef3a238696aad754c8924aed
Diffstat (limited to 'WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp b/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
index d6c8cd6..36fc445 100644
--- a/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
@@ -67,6 +67,11 @@ DeviceOrientation* DeviceOrientationClientAndroid::lastOrientation() const
return client()->lastOrientation();
}
+void DeviceOrientationClientAndroid::deviceOrientationControllerDestroyed()
+{
+ delete this;
+}
+
DeviceOrientationClient* DeviceOrientationClientAndroid::client() const
{
if (!m_client) {