| 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 4526a11a4d6139b0431635c54850f3b3a37f77d7..2bd0918a837b04e7bd7b6803b804acb5e49d255e 100644
|
| --- a/ui/views/animation/ink_drop_host_view_unittest.cc
|
| +++ b/ui/views/animation/ink_drop_host_view_unittest.cc
|
| @@ -70,17 +70,17 @@ TEST_F(InkDropHostViewTest, GetInkDropCenterBasedOnLastEventForLocatedEvent) {
|
| TEST_F(InkDropHostViewTest, SetInkDropModeGestureHandler) {
|
| EXPECT_FALSE(test_api_.HasGestureHandler());
|
|
|
| - test_api_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
| + host_view_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
| EXPECT_FALSE(test_api_.HasGestureHandler());
|
|
|
| - test_api_.SetInkDropMode(InkDropMode::ON);
|
| + host_view_.SetInkDropMode(InkDropMode::ON);
|
| EXPECT_TRUE(test_api_.HasGestureHandler());
|
|
|
| // Enabling gesture handler the second time should just work (no crash).
|
| - test_api_.SetInkDropMode(InkDropMode::ON);
|
| + host_view_.SetInkDropMode(InkDropMode::ON);
|
| EXPECT_TRUE(test_api_.HasGestureHandler());
|
|
|
| - test_api_.SetInkDropMode(InkDropMode::OFF);
|
| + host_view_.SetInkDropMode(InkDropMode::OFF);
|
| EXPECT_FALSE(test_api_.HasGestureHandler());
|
| }
|
|
|
| @@ -88,7 +88,7 @@ TEST_F(InkDropHostViewTest, SetInkDropModeGestureHandler) {
|
| TEST_F(InkDropHostViewTest, NoInkDropOnTouchOrGestureEvents) {
|
| host_view_.SetSize(gfx::Size(20, 20));
|
|
|
| - test_api_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
| + host_view_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
|
|
| // Ensure the target ink drop is in the expected state.
|
| EXPECT_EQ(test_api_.ink_drop()->GetTargetInkDropState(),
|
| @@ -122,7 +122,7 @@ TEST_F(InkDropHostViewTest, NoInkDropOnTouchOrGestureEvents) {
|
| TEST_F(InkDropHostViewTest, DismissInkDropOnTouchOrGestureEvents) {
|
| host_view_.SetSize(gfx::Size(20, 20));
|
|
|
| - test_api_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
| + host_view_.SetInkDropMode(InkDropMode::ON_NO_GESTURE_HANDLER);
|
|
|
| // Ensure the target ink drop is in the expected state.
|
| EXPECT_EQ(test_api_.ink_drop()->GetTargetInkDropState(),
|
|
|