| Index: ui/views/animation/ink_drop_host_view_unittest.cc
|
| diff --git a/ui/views/animation/ink_drop_host_view_unittest.cc b/ui/views/animation/ink_drop_host_view_unittest.cc
|
| index 5849c531df65ce777948af6c5c7913f90abab7c2..bc56d9e04fac81440a55aef7126fa945c09a5642 100644
|
| --- a/ui/views/animation/ink_drop_host_view_unittest.cc
|
| +++ b/ui/views/animation/ink_drop_host_view_unittest.cc
|
| @@ -63,9 +63,10 @@ TEST_F(InkDropHostViewTest, GetInkDropCenterBasedOnLastEventForNullEvent) {
|
| TEST_F(InkDropHostViewTest, GetInkDropCenterBasedOnLastEventForLocatedEvent) {
|
| host_view_.SetSize(gfx::Size(20, 20));
|
|
|
| - ui::MouseEvent located_event(ui::ET_MOUSE_PRESSED, gfx::Point(5, 6),
|
| - gfx::Point(5, 6), ui::EventTimeForNow(),
|
| - ui::EF_LEFT_MOUSE_BUTTON, 0);
|
| + ui::MouseEvent located_event(
|
| + ui::ET_MOUSE_PRESSED, gfx::Point(5, 6), gfx::Point(5, 6),
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| test_api_.AnimateInkDrop(InkDropState::ACTION_PENDING, &located_event);
|
| EXPECT_EQ(gfx::Point(5, 6), test_api_.GetInkDropCenterBasedOnLastEvent());
|
| @@ -150,9 +151,10 @@ TEST_F(InkDropHostViewTest, DismissInkDropOnTouchOrGestureEvents) {
|
| EXPECT_EQ(test_api_.GetInkDrop()->GetTargetInkDropState(),
|
| InkDropState::HIDDEN);
|
|
|
| - ui::MouseEvent mouse_event(ui::ET_MOUSE_PRESSED, gfx::Point(5, 6),
|
| - gfx::Point(5, 6), ui::EventTimeForNow(),
|
| - ui::EF_LEFT_MOUSE_BUTTON, 0);
|
| + ui::MouseEvent mouse_event(
|
| + ui::ET_MOUSE_PRESSED, gfx::Point(5, 6), gfx::Point(5, 6),
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
|
|
| test_api_.AnimateInkDrop(InkDropState::ACTION_PENDING, &mouse_event);
|
| EXPECT_EQ(test_api_.GetInkDrop()->GetTargetInkDropState(),
|
|
|