Index: Source/modules/screen_orientation/ScreenOrientation.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h |
index aaae462c2dda426426eabab804ccfbe66cd6df44..72e04c8a9ebfff62114a4e60e05b693ced034bc6 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.h |
+++ b/Source/modules/screen_orientation/ScreenOrientation.h |
@@ -16,6 +16,7 @@ |
namespace WebCore { |
class Document; |
+class ExceptionState; |
class Screen; |
class ScreenOrientation FINAL : public NoBaseWillBeGarbageCollectedFinalized<ScreenOrientation>, public WillBeHeapSupplement<Screen>, DOMWindowProperty { |
@@ -25,7 +26,7 @@ public: |
virtual ~ScreenOrientation(); |
static const AtomicString& orientation(Screen&); |
- static bool lockOrientation(Screen&, const AtomicString& orientation); |
+ static bool lockOrientation(Screen&, const AtomicString& orientation, ExceptionState&); |
static void unlockOrientation(Screen&); |
virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<Screen>::trace(visitor); } |