Index: chrome/browser/ui/ash/ash_init.cc |
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc |
index 8f72b1f382da8715f64172de74e8dbd47d9d3842..ceca12f8c28ee425ed3565c48364a00467378a09 100644 |
--- a/chrome/browser/ui/ash/ash_init.cc |
+++ b/chrome/browser/ui/ash/ash_init.cc |
@@ -9,6 +9,7 @@ |
#include "ash/common/accelerators/accelerator_controller.h" |
#include "ash/common/accessibility_types.h" |
#include "ash/common/ash_switches.h" |
+#include "ash/common/wm_shell.h" |
#include "ash/high_contrast/high_contrast_controller.h" |
#include "ash/magnifier/magnification_controller.h" |
#include "ash/magnifier/partial_magnification_controller.h" |
@@ -82,7 +83,7 @@ void OpenAsh(gfx::AcceleratedWidget remote_window) { |
->GetSequencedTaskRunnerWithShutdownBehavior( |
content::BrowserThread::GetBlockingPool()->GetSequenceToken(), |
base::SequencedWorkerPool::SKIP_ON_SHUTDOWN)); |
- shell->accelerator_controller()->SetImeControlDelegate( |
+ ash::WmShell::Get()->accelerator_controller()->SetImeControlDelegate( |
std::unique_ptr<ash::ImeControlDelegate>(new ImeController)); |
shell->high_contrast_controller()->SetEnabled( |
chromeos::AccessibilityManager::Get()->IsHighContrastEnabled()); |