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 83de78435dfcbedcc831465e4af30e8177811178..3fef4493d3cd9291ad63d0bbef8bfad6d7e242c2 100644 |
--- a/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
+++ b/ui/views/touchui/touch_selection_controller_impl_unittest.cc |
@@ -10,6 +10,8 @@ |
#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" |
@@ -794,8 +796,9 @@ TEST_F(TouchSelectionControllerImplTest, HandlesStackAboveParent) { |
if (IsMus()) |
return; |
- ui::EventTarget* root = GetContext(); |
- ui::EventTargeter* targeter = root->GetEventTargeter(); |
+ gfx::NativeWindow root = GetContext(); |
sadrul
2017/02/23 03:20:40
aura::Window
riajiang
2017/02/23 03:46:01
Done.
|
+ ui::EventTargeter* targeter = |
+ root->GetHost()->dispatcher()->GetDefaultEventTargeter(); |
// Create the first window containing a Views::Textfield. |
CreateTextfield(); |