summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/widget_interactive_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/widget_interactive_uitest.cc')
-rw-r--r--ui/views/widget/widget_interactive_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/widget/widget_interactive_uitest.cc b/ui/views/widget/widget_interactive_uitest.cc
index 889ee6b..12c4570 100644
--- a/ui/views/widget/widget_interactive_uitest.cc
+++ b/ui/views/widget/widget_interactive_uitest.cc
@@ -776,7 +776,7 @@ TEST_F(WidgetCaptureTest, MAYBE_MouseEventDispatchedToRightWindow) {
// |widget2| has capture, |widget1| should still get the event.
ui::MouseEvent mouse_event(ui::ET_MOUSE_EXITED, gfx::Point(), gfx::Point(),
ui::EF_NONE);
- widget1.GetNativeWindow()->GetDispatcher()->AsRootWindowHostDelegate()->
+ widget1.GetNativeWindow()->GetDispatcher()->AsWindowTreeHostDelegate()->
OnHostMouseEvent(&mouse_event);
EXPECT_TRUE(widget1.GetAndClearGotMouseEvent());
EXPECT_FALSE(widget2.GetAndClearGotMouseEvent());