Index: ash/wm/panels/panel_layout_manager_unittest.cc |
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc |
index 01f0bbc0a3a658be30606263e06907f15bfcc8f6..5c8c44543fdf77aa073b6652de05fd4888f8e0c5 100644 |
--- a/ash/wm/panels/panel_layout_manager_unittest.cc |
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc |
@@ -839,9 +839,8 @@ |
aura::test::TestWindowDelegate delegate; |
std::unique_ptr<aura::Window> w( |
CreatePanelWindowWithDelegate(&delegate, gfx::Rect(0, 0, 200, 200))); |
- aura::Window* root = w->GetRootWindow(); |
- ui::EventTargeter* targeter = |
- root->GetHost()->dispatcher()->GetDefaultEventTargeter(); |
+ ui::EventTarget* root = w->GetRootWindow(); |
+ ui::EventTargeter* targeter = root->GetEventTargeter(); |
// Note that the constants used in the touch locations below are |
// arbitrarily-selected small numbers which will ensure the point is |