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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp b/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
index aa9249f76..7d09a6e7d 100644
--- a/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
+++ b/Source/WebKit/chromium/src/WebDeviceOrientationController.cpp
@@ -35,7 +35,7 @@ namespace WebKit {
void WebDeviceOrientationController::didChangeDeviceOrientation(const WebDeviceOrientation& orientation)
{
- PassRefPtr<WebCore::DeviceOrientation> deviceOrientation(orientation);
+ RefPtr<WebCore::DeviceOrientation> deviceOrientation = PassRefPtr<WebCore::DeviceOrientation>(orientation);
m_controller->didChangeDeviceOrientation(deviceOrientation.get());
}