| 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 23b0dbdf06f4aacc572c13dee81adcd0298cada1..c458fc098e63f4916cced089da16345b6315436a 100644
|
| --- a/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| +++ b/mojo/public/cpp/bindings/tests/sample_service_unittest.cc
|
| @@ -81,9 +81,7 @@ FooPtr MakeFoo() {
|
| array_of_array_of_bools[i] = array_of_bools.Pass();
|
| }
|
|
|
| - mojo::ScopedMessagePipeHandle pipe0, pipe1;
|
| - mojo::CreateMessagePipe(&pipe0, &pipe1);
|
| -
|
| + mojo::MessagePipe pipe;
|
| FooPtr foo(Foo::New());
|
| foo->name = name;
|
| foo->x = 1;
|
| @@ -94,7 +92,7 @@ FooPtr MakeFoo() {
|
| foo->bar = bar.Pass();
|
| foo->extra_bars = extra_bars.Pass();
|
| foo->data = data.Pass();
|
| - foo->source = pipe1.Pass();
|
| + foo->source = pipe.handle1.Pass();
|
| foo->input_streams = input_streams.Pass();
|
| foo->output_streams = output_streams.Pass();
|
| foo->array_of_array_of_bools = array_of_array_of_bools.Pass();
|
|
|