Index: Source/modules/screen_orientation/ScreenOrientationController.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h |
index 79c850b8ce5b610296c02b1524055e3a67b11774..9bcb7914a7687c8de815fa09eda6879317082a65 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.h |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h |
@@ -6,7 +6,7 @@ |
#define ScreenOrientationController_h |
#include "core/dom/DocumentSupplementable.h" |
-#include "public/platform/WebScreenOrientation.h" |
+#include "public/platform/WebScreenOrientationType.h" |
namespace WebCore { |
@@ -14,9 +14,9 @@ class ScreenOrientationController FINAL : public DocumentSupplement { |
public: |
virtual ~ScreenOrientationController(); |
- void didChangeScreenOrientation(blink::WebScreenOrientation); |
+ void didChangeScreenOrientation(blink::WebScreenOrientationType); |
- blink::WebScreenOrientation orientation() const { return m_orientation; } |
+ blink::WebScreenOrientationType orientation() const { return m_orientation; } |
// DocumentSupplement API. |
static ScreenOrientationController& from(Document&); |
@@ -28,7 +28,7 @@ private: |
void dispatchOrientationChangeEvent(); |
Document& m_document; |
- blink::WebScreenOrientation m_orientation; |
+ blink::WebScreenOrientationType m_orientation; |
}; |
} // namespace WebCore |