diff options
author | Steve Block <steveblock@google.com> | 2010-10-05 15:00:26 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-10-07 11:02:45 +0100 |
commit | eea0127e7a587bbd6825bb2f47e86e70cb0a5be2 (patch) | |
tree | 00042ce618802e4f62cf39bfad7322140fff8ebf /WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp | |
parent | c287263a2fac16a4d759948cf5b41f5d1ae0ddbf (diff) | |
download | external_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/DeviceMotionClientAndroid.cpp')
-rw-r--r-- | WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp b/WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp index 5ca820d..e12eacd 100644 --- a/WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp +++ b/WebKit/android/WebCoreSupport/DeviceMotionClientAndroid.cpp @@ -67,6 +67,11 @@ DeviceMotionData* DeviceMotionClientAndroid::currentDeviceMotion() const return client()->currentDeviceMotion(); } +void DeviceMotionClientAndroid::deviceMotionControllerDestroyed() +{ + delete this; +} + DeviceMotionClient* DeviceMotionClientAndroid::client() const { if (!m_client) { |