| Index: ash/test/test_shell_delegate.cc
|
| diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
|
| index 5f91587bf85c3f5501d89af189575a2ea652ca7a..1b85400fd1bc6b9bb397e5d5eef89f47923574a1 100644
|
| --- a/ash/test/test_shell_delegate.cc
|
| +++ b/ash/test/test_shell_delegate.cc
|
| @@ -12,6 +12,7 @@
|
| #include "ash/common/session/session_state_delegate.h"
|
| #include "ash/common/shell_window_ids.h"
|
| #include "ash/common/wm/window_state.h"
|
| +#include "ash/common/wm_shell.h"
|
| #include "ash/gpu_support_stub.h"
|
| #include "ash/media_delegate.h"
|
| #include "ash/new_window_delegate.h"
|
| @@ -32,7 +33,7 @@
|
| #include "ui/gfx/image/image.h"
|
|
|
| #if defined(OS_CHROMEOS)
|
| -#include "ash/system/tray/system_tray_notifier.h"
|
| +#include "ash/common/system/tray/system_tray_notifier.h"
|
| #endif
|
|
|
| namespace ash {
|
| @@ -230,10 +231,9 @@ gfx::Image TestShellDelegate::GetDeprecatedAcceleratorImage() const {
|
|
|
| void TestShellDelegate::SetMediaCaptureState(MediaCaptureState state) {
|
| #if defined(OS_CHROMEOS)
|
| - Shell* shell = Shell::GetInstance();
|
| - static_cast<MediaDelegateImpl*>(shell->media_delegate())
|
| + static_cast<MediaDelegateImpl*>(Shell::GetInstance()->media_delegate())
|
| ->set_media_capture_state(state);
|
| - shell->system_tray_notifier()->NotifyMediaCaptureChanged();
|
| + WmShell::Get()->system_tray_notifier()->NotifyMediaCaptureChanged();
|
| #endif
|
| }
|
|
|
|
|