summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebDeviceOrientationController.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebDeviceOrientationController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp b/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
index 7d09a6e7d..0b9ee88e9 100644
--- a/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
+++ b/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
@@ -26,8 +26,8 @@
#include "config.h"
#include "WebDeviceOrientationController.h"
-#include "DeviceOrientation.h"
#include "DeviceOrientationController.h"
+#include "DeviceOrientationData.h"
#include "WebDeviceOrientation.h"
#include <wtf/PassRefPtr.h>
@@ -35,7 +35,7 @@ namespace WebKit {
void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation)
{
- RefPtr<WebCore::DeviceOrientation> deviceOrientation = PassRefPtr<WebCore::DeviceOrientation>(orientation);
+ RefPtr<WebCore::DeviceOrientationData> deviceOrientation = PassRefPtr<WebCore::DeviceOrientationData>(orientation);
m_controller->didChangeDeviceOrientation(deviceOrientation.get());
}