Index: ui/aura/root_window_unittest.cc |
diff --git a/ui/aura/root_window_unittest.cc b/ui/aura/root_window_unittest.cc |
index 8a5f26fb43c668ab66e575f1cbc7a6868d7d819b..cc2a857fd28ff7bbc972dbfd61cd85e66fb933c8 100644 |
--- a/ui/aura/root_window_unittest.cc |
+++ b/ui/aura/root_window_unittest.cc |
@@ -380,12 +380,24 @@ TEST_F(RootWindowTest, ScrollEventDispatch) { |
w1->SetBounds(gfx::Rect(20, 20, 40, 40)); |
// A scroll event on the root-window itself is dispatched. |
- ui::ScrollEvent scroll1(ui::ET_SCROLL, gfx::Point(10, 10), now, 0, 0, -10, 2); |
+ ui::ScrollEvent scroll1(ui::ET_SCROLL, |
+ gfx::Point(10, 10), |
+ now, |
+ 0, |
+ 0, -10, |
+ 0, -10, |
+ 2); |
root_window()->AsRootWindowHostDelegate()->OnHostScrollEvent(&scroll1); |
EXPECT_EQ(1, filter->num_scroll_events()); |
// Scroll event on a window should be dispatched properly. |
- ui::ScrollEvent scroll2(ui::ET_SCROLL, gfx::Point(25, 30), now, 0, -10, 0, 2); |
+ ui::ScrollEvent scroll2(ui::ET_SCROLL, |
+ gfx::Point(25, 30), |
+ now, |
+ 0, |
+ -10, 0, |
+ -10, 0, |
+ 2); |
root_window()->AsRootWindowHostDelegate()->OnHostScrollEvent(&scroll2); |
EXPECT_EQ(2, filter->num_scroll_events()); |
} |