Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc b/third_party/mojo/src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
index 57abf8fd835edf4780c87f5f754932825c7d31be..09e481242cfd266eb8c8e1788b5d3a9df4a93899 100644 |
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
@@ -87,8 +87,8 @@ class MathCalculatorUI { |
output_(0.0), |
callback_(MakeRunnable(&MathCalculatorUI::Output, this)) {} |
- bool WaitForIncomingResponse() { |
- return calculator_.WaitForIncomingResponse(); |
+ bool WaitForIncomingMethodCall() { |
+ return calculator_.WaitForIncomingMethodCall(); |
} |
bool encountered_error() const { return calculator_.encountered_error(); } |
@@ -232,13 +232,13 @@ TEST_F(InterfacePtrTest, EndToEnd_Synchronous) { |
calculator_ui.Add(2.0); |
EXPECT_EQ(0.0, calculator_ui.GetOutput()); |
calc_impl.WaitForIncomingMethodCall(); |
- calculator_ui.WaitForIncomingResponse(); |
+ calculator_ui.WaitForIncomingMethodCall(); |
EXPECT_EQ(2.0, calculator_ui.GetOutput()); |
calculator_ui.Multiply(5.0); |
EXPECT_EQ(2.0, calculator_ui.GetOutput()); |
calc_impl.WaitForIncomingMethodCall(); |
- calculator_ui.WaitForIncomingResponse(); |
+ calculator_ui.WaitForIncomingMethodCall(); |
EXPECT_EQ(10.0, calculator_ui.GetOutput()); |
} |