| Index: ash/wm/lock_state_controller.cc
|
| diff --git a/ash/wm/lock_state_controller.cc b/ash/wm/lock_state_controller.cc
|
| index 9d538c58d6b1853be63d1e24ef78e8db34d32ec9..08c314c1fac6195ebb16ce67e4027f0964786ee6 100644
|
| --- a/ash/wm/lock_state_controller.cc
|
| +++ b/ash/wm/lock_state_controller.cc
|
| @@ -315,9 +315,8 @@ void LockStateController::StartRealShutdownTimer(bool with_animation_time) {
|
| }
|
|
|
| #if defined(OS_CHROMEOS)
|
| - const AccessibilityDelegate* const delegate =
|
| - Shell::GetInstance()->accessibility_delegate();
|
| - base::TimeDelta sound_duration = delegate->PlayShutdownSound();
|
| + base::TimeDelta sound_duration =
|
| + WmShell::Get()->GetAccessibilityDelegate()->PlayShutdownSound();
|
| sound_duration =
|
| std::min(sound_duration,
|
| base::TimeDelta::FromMilliseconds(kMaxShutdownSoundDurationMs));
|
|
|