Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
index 150135369a44af01d60d46081065e50b0187ce7b..2e0b532f7e2cd47829b2ed9138557d391e911828 100644 |
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationController.cpp |
@@ -93,7 +93,7 @@ void ScreenOrientationController::updateOrientation() |
bool ScreenOrientationController::isActiveAndVisible() const |
{ |
- return m_orientation && m_client && frame() && page() && page()->isPageVisible(); |
+ return m_orientation && m_client && page() && page()->isPageVisible(); |
} |
void ScreenOrientationController::pageVisibilityChanged() |