Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Unified Diff: third_party/WebKit/Source/modules/vibration/VibrationController.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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vibration/VibrationController.cpp
diff --git a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
index eaa3fb1e3de992cc265a53e0ab6cff17e89c84e6..f95c61f2029829355f3ab8070f07a0ccd15bc709 100644
--- a/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
+++ b/third_party/WebKit/Source/modules/vibration/VibrationController.cpp
@@ -178,8 +178,6 @@ void VibrationController::contextDestroyed(ExecutionContext*) {
m_service.reset();
}
-void VibrationController::contextDestroyed(Page*) {}
-
void VibrationController::pageVisibilityChanged() {
if (!page()->isPageVisible())
cancel();

Powered by Google App Engine
This is Rietveld 408576698