| Index: ui/views/widget/widget_unittest.cc
|
| diff --git a/ui/views/widget/widget_unittest.cc b/ui/views/widget/widget_unittest.cc
|
| index 52845e5ed925fc9141065f1f52e2ac2e7a8ccfc2..cd82e20fa5b218ec52d10e2bc22c38325a5025ff 100644
|
| --- a/ui/views/widget/widget_unittest.cc
|
| +++ b/ui/views/widget/widget_unittest.cc
|
| @@ -2239,9 +2239,10 @@ TEST_F(WidgetTest, MAYBE_DisableTestRootViewHandlersWhenHidden) {
|
| widget->Show();
|
| EXPECT_EQ(NULL, GetMousePressedHandler(root_view));
|
| gfx::Point click_location(45, 15);
|
| - ui::MouseEvent press(ui::ET_MOUSE_PRESSED, click_location, click_location,
|
| - ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON,
|
| - ui::EF_LEFT_MOUSE_BUTTON);
|
| + ui::MouseEvent press(
|
| + ui::ET_MOUSE_PRESSED, click_location, click_location,
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| widget->OnMouseEvent(&press);
|
| EXPECT_EQ(view, GetMousePressedHandler(root_view));
|
| widget->Hide();
|
| @@ -2251,8 +2252,9 @@ TEST_F(WidgetTest, MAYBE_DisableTestRootViewHandlersWhenHidden) {
|
| widget->Show();
|
| EXPECT_EQ(NULL, GetMouseMoveHandler(root_view));
|
| gfx::Point move_location(45, 15);
|
| - ui::MouseEvent move(ui::ET_MOUSE_MOVED, move_location, move_location,
|
| - ui::EventTimeForNow(), 0, 0);
|
| + ui::MouseEvent move(
|
| + ui::ET_MOUSE_MOVED, move_location, move_location, ui::EventTimeForNow(),
|
| + 0, 0, ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| widget->OnMouseEvent(&move);
|
| EXPECT_EQ(view, GetMouseMoveHandler(root_view));
|
| widget->Hide();
|
|
|