Index: Source/modules/screen_orientation/ScreenOrientationController.h |
diff --git a/Source/modules/screen_orientation/ScreenOrientationController.h b/Source/modules/screen_orientation/ScreenOrientationController.h |
index b771761a5ab891e81f7428299f60d5f39c247105..79c850b8ce5b610296c02b1524055e3a67b11774 100644 |
--- a/Source/modules/screen_orientation/ScreenOrientationController.h |
+++ b/Source/modules/screen_orientation/ScreenOrientationController.h |
@@ -19,7 +19,7 @@ public: |
blink::WebScreenOrientation orientation() const { return m_orientation; } |
// DocumentSupplement API. |
- static ScreenOrientationController* from(Document*); |
+ static ScreenOrientationController& from(Document&); |
static const char* supplementName(); |
private: |