Index: ash/wm/caption_buttons/frame_maximize_button_unittest.cc |
diff --git a/ash/wm/caption_buttons/frame_maximize_button_unittest.cc b/ash/wm/caption_buttons/frame_maximize_button_unittest.cc |
index 69eb5297ba53cfde4c5b578cdb0c8a6e9cabf000..d3bccbd9a2ac72e1afd4362829ce2874dc3ac9a2 100644 |
--- a/ash/wm/caption_buttons/frame_maximize_button_unittest.cc |
+++ b/ash/wm/caption_buttons/frame_maximize_button_unittest.cc |
@@ -485,7 +485,8 @@ TEST_F(FrameMaximizeButtonTest, MaximizeTap) { |
ui::GestureConfiguration::default_radius(); |
ui::GestureConfiguration::set_default_radius(0); |
- aura::WindowEventDispatcher* dispatcher = root_window->GetDispatcher(); |
+ aura::WindowEventDispatcher* dispatcher = |
+ root_window->GetHost()->dispatcher(); |
const int kTouchId = 2; |
ui::TouchEvent press(ui::ET_TOUCH_PRESSED, |
button_pos, |