Index: mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
diff --git a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
index 296b83caea4f69809c614f46b18c08a146118c71..c291b1ca7d4e7531ff50cc9b4321b20ce1d45943 100644 |
--- a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
+++ b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc |
@@ -98,7 +98,7 @@ FooPtr MakeFoo() { |
foo->output_streams = output_streams.Pass(); |
foo->array_of_array_of_bools = array_of_array_of_bools.Pass(); |
- return foo.Pass(); |
+ return foo; |
} |
// Check that the given |Foo| is identical to the one made by |MakeFoo()|. |