summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-10-05 13:09:08 +0100
committerSteve Block <steveblock@google.com>2010-10-07 11:17:32 +0100
commit43cbb6a517664df15ba6cfa5ed9c612ffe92f646 (patch)
treefee7cc31d4cf3368ab7c28c6a9595497d256426e /WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
parentdb58df4991c8c4dc1da936fb1ae866cf394d3646 (diff)
downloadexternal_webkit-43cbb6a517664df15ba6cfa5ed9c612ffe92f646.zip
external_webkit-43cbb6a517664df15ba6cfa5ed9c612ffe92f646.tar.gz
external_webkit-43cbb6a517664df15ba6cfa5ed9c612ffe92f646.tar.bz2
Prepare DeviceOrientationManager for implementation of DeviceMotion
To avoid additional boilerplate, this class will will be used for both DeviceOrientation and DeviceMotion. This change does not involve any change in behaviour, only renaming and adding stubs. Change-Id: I0d6c9e1c2fc8d919ccbd048b068d898110707f0e
Diffstat (limited to 'WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp b/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
index 36fc445..3f5f32b 100644
--- a/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
+++ b/WebKit/android/WebCoreSupport/DeviceOrientationClientAndroid.cpp
@@ -75,7 +75,7 @@ void DeviceOrientationClientAndroid::deviceOrientationControllerDestroyed()
DeviceOrientationClient* DeviceOrientationClientAndroid::client() const
{
if (!m_client) {
- m_client = m_webViewCore->deviceOrientationManager()->client();
+ m_client = m_webViewCore->deviceOrientationManager()->orientationClient();
m_client->setController(m_controller);
}
return m_client;