Index: ui/views/touchui/touch_selection_controller_impl_unittest.cc |
diff --git a/ui/views/touchui/touch_selection_controller_impl_unittest.cc b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
index 47430626a666c53831d0835230780f7b4bda8c54..83de78435dfcbedcc831465e4af30e8177811178 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
@@ -10,8 +10,6 @@ |
#include "ui/aura/client/screen_position_client.h" |
#include "ui/aura/test/test_cursor_client.h" |
#include "ui/aura/window.h" |
-#include "ui/aura/window_event_dispatcher.h" |
-#include "ui/aura/window_tree_host.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/touch/touch_editing_controller.h" |
#include "ui/base/ui_base_switches.h" |
@@ -796,9 +794,8 @@ |
if (IsMus()) |
return; |
- aura::Window* root = GetContext(); |
- ui::EventTargeter* targeter = |
- root->GetHost()->dispatcher()->GetDefaultEventTargeter(); |
+ ui::EventTarget* root = GetContext(); |
+ ui::EventTargeter* targeter = root->GetEventTargeter(); |
// Create the first window containing a Views::Textfield. |
CreateTextfield(); |