Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.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/wake_lock/ScreenWakeLock.cpp
diff --git a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
index 5abb4d5e99058bd5788750fe71d7369bb291434d..943f2d7ad78dd6a20a67a96c189b1b6ed52a6d5d 100644
--- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
+++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
@@ -55,8 +55,6 @@ void ScreenWakeLock::contextDestroyed(ExecutionContext*) {
setKeepAwake(false);
}
-void ScreenWakeLock::contextDestroyed(Page*) {}
-
DEFINE_TRACE(ScreenWakeLock) {
Supplement<LocalFrame>::trace(visitor);
PageVisibilityObserver::trace(visitor);

Powered by Google App Engine