Index: Source/modules/screen_orientation/ScreenOrientation.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h |
index 1091cdb224e11d9e0cc04593744091375c632c2e..7161fa3ee8bde8a5157206e7263054dafc4745e0 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.h |
+++ b/Source/modules/screen_orientation/ScreenOrientation.h |
@@ -17,6 +17,7 @@ |
namespace WebCore { |
class Document; |
+class OrientationInformation; |
class ScriptPromise; |
class ScriptState; |
class Screen; |
@@ -27,7 +28,7 @@ public: |
static ScreenOrientation& from(Screen&); |
virtual ~ScreenOrientation(); |
- static const AtomicString& orientation(Screen&); |
+ static OrientationInformation* orientation(Screen&); |
static ScriptPromise lockOrientation(ScriptState*, Screen&, const AtomicString& orientation); |
static void unlockOrientation(Screen&); |