Index: Source/modules/screen_orientation/ScreenOrientation.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h |
index 5f9d0a83848ed9316d449972dce7c6778afa4572..ff5a85f657c4f7ed402d025143a03af0ac38f008 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientation.h |
+++ b/Source/modules/screen_orientation/ScreenOrientation.h |
@@ -38,7 +38,7 @@ private: |
void orientationLockTimerFired(Timer<ScreenOrientation>*); |
static const char* supplementName(); |
- Document& document() const; |
+ Document* document() const; |
Timer<ScreenOrientation> m_orientationLockTimer; |
blink::WebScreenOrientations m_lockedOrientations; |