| Index: ash/wm/workspace_controller_unittest.cc
|
| diff --git a/ash/wm/workspace_controller_unittest.cc b/ash/wm/workspace_controller_unittest.cc
|
| index 9011354e050d6e0a0d493dfa420469267ee73fde..af67d2f29812339771106d2b639d851c0eb7e1d8 100644
|
| --- a/ash/wm/workspace_controller_unittest.cc
|
| +++ b/ash/wm/workspace_controller_unittest.cc
|
| @@ -1453,8 +1453,10 @@ TEST_F(WorkspaceControllerTest, WindowEdgeHitTest) {
|
| for (int i = 0; i < kNumPoints; ++i) {
|
| SCOPED_TRACE(points[i].direction);
|
| const gfx::Point& location = points[i].location;
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
|
| + ui::EF_NONE, ui::EF_NONE,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::EventTarget* target = targeter->FindTargetForEvent(root, &mouse);
|
| EXPECT_EQ(expected_target, target);
|
|
|
| @@ -1496,8 +1498,10 @@ TEST_F(WorkspaceControllerTest, WindowEdgeMouseHitTestPanel) {
|
| for (int i = 0; i < kNumPoints; ++i) {
|
| SCOPED_TRACE(points[i].direction);
|
| const gfx::Point& location = points[i].location;
|
| - ui::MouseEvent mouse(ui::ET_MOUSE_MOVED, location, location,
|
| - ui::EventTimeForNow(), ui::EF_NONE, ui::EF_NONE);
|
| + ui::MouseEvent mouse(
|
| + ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(),
|
| + ui::EF_NONE, ui::EF_NONE,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ui::EventTarget* target = targeter->FindTargetForEvent(root, &mouse);
|
| if (points[i].is_target_hit)
|
| EXPECT_EQ(window.get(), target);
|
|
|