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 283265a070924f0514be15256d479aaab50ca1e7..030e768461d0a5294fc16c728561092fa4c71af5 100644 |
--- a/ash/system/chromeos/power/video_activity_notifier.cc |
+++ b/ash/system/chromeos/power/video_activity_notifier.cc |
@@ -4,7 +4,7 @@ |
#include "ash/system/chromeos/power/video_activity_notifier.h" |
-#include "ash/common/session/session_state_delegate.h" |
+#include "ash/common/session/session_controller.h" |
#include "ash/common/wm_shell.h" |
#include "ash/shell.h" |
#include "chromeos/dbus/dbus_thread_manager.h" |
@@ -24,7 +24,7 @@ VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector) |
: detector_(detector), |
video_state_(detector->state()), |
screen_is_locked_( |
- Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) { |
+ WmShell::Get()->session_controller()->IsScreenLocked()) { |
detector_->AddObserver(this); |
Shell::GetInstance()->AddShellObserver(this); |