Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 9f5f30227b9327383e6655966cd0141187ba4f5e..e56f28be8585aa23c1c7fd88135ec189fc873a1b 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -42,7 +42,9 @@ |
#include "WebGamepads.h" |
#include "WebGraphicsContext3D.h" |
#include "WebLocalizedString.h" |
+// FIXME: WebScreenOrientation.h is only needed because Chrome assumes it is there. |
#include "WebScreenOrientation.h" |
+#include "WebScreenOrientationLockType.h" |
#include "WebSpeechSynthesizer.h" |
#include "WebStorageQuotaCallbacks.h" |
#include "WebStorageQuotaType.h" |
@@ -610,7 +612,7 @@ public: |
// Screen Orientation ------------------------------------------------- |
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { } |
- virtual void lockOrientation(WebScreenOrientations) { } |
+ virtual void lockOrientation(WebScreenOrientationLockType) { } |
virtual void unlockOrientation() { } |