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

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

Issue 2614143002: Use a new Supplement constructor for LocalFrame's supplements (Closed)
Patch Set: 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/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 522b21546c962a13b2a9b15f552ba9254eecaa0b..3917e0f46246ac2101774d3b2bd564ed49630193 100644
--- a/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
+++ b/third_party/WebKit/Source/modules/wake_lock/ScreenWakeLock.cpp
@@ -62,7 +62,8 @@ DEFINE_TRACE(ScreenWakeLock) {
}
ScreenWakeLock::ScreenWakeLock(LocalFrame& frame)
- : ContextLifecycleObserver(frame.document()),
+ : Supplement<LocalFrame>(frame),
+ ContextLifecycleObserver(frame.document()),
PageVisibilityObserver(frame.page()),
m_keepAwake(false) {
DCHECK(!m_service.is_bound());

Powered by Google App Engine
This is Rietveld 408576698