| 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 3c194264c5b4dfc7552544fb3c34e86f0b2d8602..283265a070924f0514be15256d479aaab50ca1e7 100644
|
| --- a/ash/system/chromeos/power/video_activity_notifier.cc
|
| +++ b/ash/system/chromeos/power/video_activity_notifier.cc
|
| @@ -26,14 +26,14 @@ VideoActivityNotifier::VideoActivityNotifier(VideoDetector* detector)
|
| screen_is_locked_(
|
| Shell::GetInstance()->session_state_delegate()->IsScreenLocked()) {
|
| detector_->AddObserver(this);
|
| - WmShell::Get()->AddShellObserver(this);
|
| + Shell::GetInstance()->AddShellObserver(this);
|
|
|
| MaybeNotifyPowerManager();
|
| UpdateTimer();
|
| }
|
|
|
| VideoActivityNotifier::~VideoActivityNotifier() {
|
| - WmShell::Get()->RemoveShellObserver(this);
|
| + Shell::GetInstance()->RemoveShellObserver(this);
|
| detector_->RemoveObserver(this);
|
| }
|
|
|
|
|