Index: mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
index 541aba19d2ce9b4f4a9468acbf13f63c085693e2..518afd403cf95b749464c06ecbe831be0482cceb 100644 |
--- a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc |
@@ -73,7 +73,7 @@ class MathCalculatorUIImpl : public math::CalculatorUI { |
explicit MathCalculatorUIImpl(math::CalculatorPtr calculator) |
: calculator_(calculator.Pass()), |
output_(0.0) { |
- calculator_->SetClient(this); |
+ calculator_.set_client(this); |
} |
bool encountered_error() const { |