diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-25 13:35:59 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-06-25 13:35:59 +0200 |
commit | 79ad030d505ccf79cf10aa9f8189ca3e2f61f6f4 (patch) | |
tree | 0287b1a69d84492c901e8bc820e635e7133809a0 /Source/WebCore/dom/DeviceOrientationController.cpp | |
parent | 682ab87480e7757346802ce7f54cfdbdfeb2339e (diff) | |
download | qtwebkit-79ad030d505ccf79cf10aa9f8189ca3e2f61f6f4.tar.gz |
Imported WebKit commit c4b613825abd39ac739a47d7b4410468fcef66dc (http://svn.webkit.org/repository/webkit/trunk@121147)
New snapshot that includes Win32 debug build fix (use SVGAllInOne)
Diffstat (limited to 'Source/WebCore/dom/DeviceOrientationController.cpp')
-rw-r--r-- | Source/WebCore/dom/DeviceOrientationController.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/dom/DeviceOrientationController.cpp b/Source/WebCore/dom/DeviceOrientationController.cpp index 5d4bcddff..0d002c1e2 100644 --- a/Source/WebCore/dom/DeviceOrientationController.cpp +++ b/Source/WebCore/dom/DeviceOrientationController.cpp @@ -26,8 +26,8 @@ #include "config.h" #include "DeviceOrientationController.h" -#include "DeviceOrientation.h" #include "DeviceOrientationClient.h" +#include "DeviceOrientationData.h" #include "DeviceOrientationEvent.h" namespace WebCore { @@ -55,7 +55,7 @@ void DeviceOrientationController::timerFired(Timer<DeviceOrientationController>* ASSERT_UNUSED(timer, timer == &m_timer); ASSERT(m_client->lastOrientation()); - RefPtr<DeviceOrientation> orientation = m_client->lastOrientation(); + RefPtr<DeviceOrientationData> orientation = m_client->lastOrientation(); RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation.get()); Vector<RefPtr<DOMWindow> > listenersVector; @@ -127,7 +127,7 @@ void DeviceOrientationController::resumeEventsForAllListeners(DOMWindow* window) addListener(window); } -void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientation* orientation) +void DeviceOrientationController::didChangeDeviceOrientation(DeviceOrientationData* orientation) { RefPtr<DeviceOrientationEvent> event = DeviceOrientationEvent::create(eventNames().deviceorientationEvent, orientation); Vector<RefPtr<DOMWindow> > listenersVector; |