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

Unified Diff: third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp

Issue 2138663003: Rename PageLifecycleObserver to PageVisibilityObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3062214e7229e9ab33b0ab4fb792689a68c3b313..6b1f3db0eb41fecfa6d66d04098d2955c5220465 100644
--- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
+++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
@@ -63,13 +63,13 @@ void ScreenWakeLock::contextDestroyed()
DEFINE_TRACE(ScreenWakeLock)
{
Supplement<LocalFrame>::trace(visitor);
- PageLifecycleObserver::trace(visitor);
+ PageVisibilityObserver::trace(visitor);
ContextLifecycleObserver::trace(visitor);
}
ScreenWakeLock::ScreenWakeLock(LocalFrame& frame)
: ContextLifecycleObserver(frame.document())
- , PageLifecycleObserver(frame.page())
+ , PageVisibilityObserver(frame.page())
, m_keepAwake(false)
{
DCHECK(!m_service.is_bound());
« no previous file with comments | « third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698