Index: Source/modules/screen_orientation/ScreenOrientation.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h |
index 2fb20d810fb25b231e44ab710bd94b1a7be67613..a6cc3f9e3034dddf56da7429f9df6b2ee6aafe51 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.h |
+++ b/Source/modules/screen_orientation/ScreenOrientation.h |
@@ -14,6 +14,7 @@ |
namespace WebCore { |
+class Document; |
class Screen; |
class ScreenOrientation FINAL : public Supplement<Screen>, DOMWindowProperty { |
@@ -31,7 +32,7 @@ public: |
private: |
explicit ScreenOrientation(Screen*); |
static const char* supplementName(); |
- Screen* screen() const; |
+ Document* document() const; |
}; |
} // namespace WebCore |