| Index: mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| diff --git a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| index 9d31620628cc9ef1bc059a2455ac61ef01fc0f0e..fcdebda30997f75601ca7c697242baa3d69b84d8 100644
|
| --- a/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/handle_passing_unittest.cc
|
| @@ -327,7 +327,7 @@ TEST_F(HandlePassingTest, CreateNamedObject) {
|
| sample::NamedObjectPtr object1;
|
| EXPECT_FALSE(object1);
|
|
|
| - InterfaceRequest<sample::NamedObject> object1_request = MakeRequest(&object1);
|
| + InterfaceRequest<sample::NamedObject> object1_request(&object1);
|
| EXPECT_TRUE(object1_request.is_pending());
|
| factory->CreateNamedObject(std::move(object1_request));
|
| EXPECT_FALSE(object1_request.is_pending()); // We've passed the request.
|
|
|