Index: ash/accelerators/accelerator_controller_unittest.cc |
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc |
index 06ce213f5a50eabf9df97866bc3a36d75f4710c3..77bbe6f877d45adc03c341cf502172546f61de7c 100644 |
--- a/ash/accelerators/accelerator_controller_unittest.cc |
+++ b/ash/accelerators/accelerator_controller_unittest.cc |
@@ -636,7 +636,7 @@ TEST_F(AcceleratorControllerTest, MAYBE_ProcessOnce) { |
// The accelerator is processed only once. |
aura::WindowEventDispatcher* dispatcher = |
- Shell::GetPrimaryRootWindow()->GetDispatcher(); |
+ Shell::GetPrimaryRootWindow()->GetHost()->dispatcher(); |
#if defined(OS_WIN) |
MSG msg1 = { NULL, WM_KEYDOWN, ui::VKEY_A, 0 }; |
ui::TranslatedKeyEvent key_event1(msg1, false); |