Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp

Issue 2634713002: Remove PageVisibilityObserver contextDestroyed() notifications. (Closed)
Patch Set: prefer type aliases Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
index a9d229072ecf70f9cbd64da9f989f52dcbb47e0f..a8ec2c09c38cb9a6262f3ace184b7bc115b8e99a 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
@@ -215,8 +215,6 @@ void ScreenOrientationControllerImpl::contextDestroyed(ExecutionContext*) {
m_activeLock = false;
}
-void ScreenOrientationControllerImpl::contextDestroyed(Page*) {}
-
void ScreenOrientationControllerImpl::notifyDispatcher() {
if (m_orientation && page()->isPageVisible())
startUpdating();

Powered by Google App Engine