| Index: mojo/public/cpp/system/tests/core_unittest.cc
|
| diff --git a/mojo/public/cpp/system/tests/core_unittest.cc b/mojo/public/cpp/system/tests/core_unittest.cc
|
| index 7a52ab59a0660c591c6647c4bee68b6fc74e2f48..b500be3be763d5b46a39334285a03acb70fa5827 100644
|
| --- a/mojo/public/cpp/system/tests/core_unittest.cc
|
| +++ b/mojo/public/cpp/system/tests/core_unittest.cc
|
| @@ -365,10 +365,7 @@ TEST(CoreCppTest, TearDownWithMessagesEnqueued) {
|
| // Send a handle over the previously-establish message pipe.
|
| ScopedMessagePipeHandle h2;
|
| ScopedMessagePipeHandle h3;
|
| - MojoCreateMessagePipeOptions options;
|
| - options.struct_size = sizeof(MojoCreateMessagePipeOptions);
|
| - options.flags = MOJO_CREATE_MESSAGE_PIPE_OPTIONS_FLAG_TRANSFERABLE;
|
| - if (CreateMessagePipe(&options, &h2, &h3) != MOJO_RESULT_OK)
|
| + if (CreateMessagePipe(nullptr, &h2, &h3) != MOJO_RESULT_OK)
|
| CreateMessagePipe(nullptr, &h2, &h3); // Must be old EDK.
|
|
|
| // Write a message to |h2|, before we send |h3|.
|
| @@ -422,10 +419,7 @@ TEST(CoreCppTest, TearDownWithMessagesEnqueued) {
|
| // Send a handle over the previously-establish message pipe.
|
| ScopedMessagePipeHandle h2;
|
| ScopedMessagePipeHandle h3;
|
| - MojoCreateMessagePipeOptions options;
|
| - options.struct_size = sizeof(MojoCreateMessagePipeOptions);
|
| - options.flags = MOJO_CREATE_MESSAGE_PIPE_OPTIONS_FLAG_TRANSFERABLE;
|
| - if (CreateMessagePipe(&options, &h2, &h3) != MOJO_RESULT_OK)
|
| + if (CreateMessagePipe(nullptr, &h2, &h3) != MOJO_RESULT_OK)
|
| CreateMessagePipe(nullptr, &h2, &h3); // Must be old EDK.
|
|
|
| // Write a message to |h2|, before we send |h3|.
|
|
|