| 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 1ada250d5a09d28a1a013ac380edac76077c240b..dc4a55a7eec15079f4c559862dde39f2a4bd4f2b 100644
|
| --- a/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc
|
| @@ -274,7 +274,7 @@ TEST_F(InterfacePtrTest, Resettable) {
|
| // Save this so we can test it later.
|
| Handle handle = pipe.handle0.get();
|
|
|
| - a = MakeProxy(InterfacePtrInfo<math::Calculator>(pipe.handle0.Pass(), 0u));
|
| + a = MakeProxy(InterfaceHandle<math::Calculator>(pipe.handle0.Pass(), 0u));
|
|
|
| EXPECT_FALSE(!a);
|
|
|
| @@ -292,7 +292,7 @@ TEST_F(InterfacePtrTest, BindInvalidHandle) {
|
| EXPECT_FALSE(ptr.get());
|
| EXPECT_FALSE(ptr);
|
|
|
| - ptr.Bind(InterfacePtrInfo<math::Calculator>());
|
| + ptr.Bind(InterfaceHandle<math::Calculator>());
|
| EXPECT_FALSE(ptr.get());
|
| EXPECT_FALSE(ptr);
|
| }
|
| @@ -493,7 +493,7 @@ TEST(StrongConnectorTest, Math) {
|
| &destroyed);
|
|
|
| math::CalculatorPtr calc;
|
| - calc.Bind(InterfacePtrInfo<math::Calculator>(pipe.handle1.Pass(), 0u));
|
| + calc.Bind(InterfaceHandle<math::Calculator>(pipe.handle1.Pass(), 0u));
|
|
|
| {
|
| // Suppose this is instantiated in a process that has the other end of the
|
| @@ -561,7 +561,7 @@ TEST(WeakConnectorTest, Math) {
|
| WeakMathCalculatorImpl impl(pipe.handle0.Pass(), &error_received, &destroyed);
|
|
|
| math::CalculatorPtr calc;
|
| - calc.Bind(InterfacePtrInfo<math::Calculator>(pipe.handle1.Pass(), 0u));
|
| + calc.Bind(InterfaceHandle<math::Calculator>(pipe.handle1.Pass(), 0u));
|
|
|
| {
|
| // Suppose this is instantiated in a process that has the other end of the
|
|
|