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

Unified Diff: ash/system/chromeos/power/video_activity_notifier.cc

Issue 2761373002: Move yet more from WmShell to Shell (Closed)
Patch Set: merge Created 3 years, 9 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: ash/system/chromeos/power/video_activity_notifier.cc
diff --git a/ash/system/chromeos/power/video_activity_notifier.cc b/ash/system/chromeos/power/video_activity_notifier.cc
index 030e768461d0a5294fc16c728561092fa4c71af5..09360e61a0da4f445f1654cdc3fc7072c597965b 100644
--- a/ash/system/chromeos/power/video_activity_notifier.cc
+++ b/ash/system/chromeos/power/video_activity_notifier.cc
@@ -23,8 +23,7 @@ const int kNotifyIntervalSec = 5;
VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector)
: detector_(detector),
video_state_(detector->state()),
- screen_is_locked_(
- WmShell::Get()->session_controller()->IsScreenLocked()) {
+ screen_is_locked_(Shell::Get()->session_controller()->IsScreenLocked()) {
detector_->AddObserver(this);
Shell::GetInstance()->AddShellObserver(this);

Powered by Google App Engine
This is Rietveld 408576698