Index: trunk/src/ui/views/corewm/capture_controller_unittest.cc |
=================================================================== |
--- trunk/src/ui/views/corewm/capture_controller_unittest.cc (revision 236092) |
+++ trunk/src/ui/views/corewm/capture_controller_unittest.cc (working copy) |
@@ -103,7 +103,7 @@ |
// dispatch further mouse events to |w1|. |
ui::MouseEvent mouse_pressed_event(ui::ET_MOUSE_PRESSED, gfx::Point(5, 5), |
gfx::Point(5, 5), 0); |
- dispatcher()->AsWindowTreeHostDelegate()->OnHostMouseEvent( |
+ dispatcher()->AsRootWindowHostDelegate()->OnHostMouseEvent( |
&mouse_pressed_event); |
EXPECT_EQ(w1.get(), dispatcher()->mouse_pressed_handler()); |