Index: content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
diff --git a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
index 44205c0a0416fe785e25453ed7febd7b35a78580..e4d6fc7dfed5be921e031f05ccd22711ef5d35d8 100644 |
--- a/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
+++ b/content/browser/renderer_host/input/synthetic_gesture_controller_unittest.cc |
@@ -491,7 +491,7 @@ class SyntheticGestureControllerTestBase { |
time_ += base::TimeDelta::FromMilliseconds(kFlushInputRateInMs); |
controller_->Flush(time_); |
} |
- controller_->OnDidFlushInput(); |
+ controller_->OnDidFlushAllInput(); |
} |
} |
@@ -625,7 +625,7 @@ TEST_F(SyntheticGestureControllerTest, TwoGesturesInFlight) { |
EXPECT_EQ(0, num_failure_); |
} |
-TEST_F(SyntheticGestureControllerTest, GestureCompletedOnDidFlushInput) { |
+TEST_F(SyntheticGestureControllerTest, GestureCompletedOnDidFlushAllInput) { |
CreateControllerAndTarget<MockSyntheticGestureTarget>(); |
bool finished_1, finished_2; |
@@ -643,7 +643,7 @@ TEST_F(SyntheticGestureControllerTest, GestureCompletedOnDidFlushInput) { |
controller_->Flush(time_); |
} |
EXPECT_EQ(0, num_success_); |
- controller_->OnDidFlushInput(); |
+ controller_->OnDidFlushAllInput(); |
EXPECT_EQ(1, num_success_); |
while (target_->flush_requested()) { |
@@ -652,7 +652,7 @@ TEST_F(SyntheticGestureControllerTest, GestureCompletedOnDidFlushInput) { |
controller_->Flush(time_); |
} |
EXPECT_EQ(1, num_success_); |
- controller_->OnDidFlushInput(); |
+ controller_->OnDidFlushAllInput(); |
EXPECT_EQ(2, num_success_); |
} |