Index: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h |
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h |
index c2edae34c0c0d647892cb4fc15dd8a3449f8a8b9..419e787d738bde5b500f00fb02ff19f5464779f6 100644 |
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h |
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h |
@@ -37,10 +37,13 @@ |
#include "public/platform/modules/device_orientation/WebDeviceOrientationListener.h" |
#include "wtf/RefPtr.h" |
+namespace device { |
+class OrientationData; |
+} |
+ |
namespace blink { |
class DeviceOrientationData; |
-class WebDeviceOrientationData; |
// This class listens to device orientation data and notifies all registered |
// controllers. |
@@ -59,7 +62,7 @@ class DeviceOrientationDispatcher final |
DeviceOrientationData* latestDeviceOrientationData(); |
// Inherited from WebDeviceOrientationListener. |
- void didChangeDeviceOrientation(const WebDeviceOrientationData&) override; |
+ void didChangeDeviceOrientation(const device::OrientationData&) override; |
DECLARE_VIRTUAL_TRACE(); |