| Index: mojo/edk/system/core_unittest.cc
|
| diff --git a/mojo/edk/system/core_unittest.cc b/mojo/edk/system/core_unittest.cc
|
| index cbbd90555ce9e836f1fd280454c402efa3d90c21..9604bbd7f31cf60de36d8f371b26ba1b4ac11732 100644
|
| --- a/mojo/edk/system/core_unittest.cc
|
| +++ b/mojo/edk/system/core_unittest.cc
|
| @@ -730,8 +730,11 @@ TEST_F(CoreTest, MessagePipeBasicLocalHandlePassing1) {
|
| #endif
|
|
|
| MojoHandle h_passed[2];
|
| + MojoCreateMessagePipeOptions options;
|
| + options.struct_size = sizeof(MojoCreateMessagePipeOptions);
|
| + options.flags = MOJO_CREATE_MESSAGE_PIPE_OPTIONS_FLAG_TRANSFERABLE;
|
| ASSERT_EQ(MOJO_RESULT_OK,
|
| - core()->CreateMessagePipe(nullptr, &h_passed[0], &h_passed[1]));
|
| + core()->CreateMessagePipe(&options, &h_passed[0], &h_passed[1]));
|
|
|
| // Make sure that |h_passed[]| work properly.
|
| ASSERT_EQ(MOJO_RESULT_OK,
|
|
|