| Index: mojo/system/remote_message_pipe_unittest.cc
|
| diff --git a/mojo/system/remote_message_pipe_unittest.cc b/mojo/system/remote_message_pipe_unittest.cc
|
| index 5f5c9fb1df52ae5c9eedc5871d34803c70941329..0a961bfa73a3e76cfe730af734907dc145483a27 100644
|
| --- a/mojo/system/remote_message_pipe_unittest.cc
|
| +++ b/mojo/system/remote_message_pipe_unittest.cc
|
| @@ -23,6 +23,7 @@
|
| #include "mojo/embedder/platform_channel_pair.h"
|
| #include "mojo/embedder/platform_shared_buffer.h"
|
| #include "mojo/embedder/scoped_platform_handle.h"
|
| +#include "mojo/embedder/simple_platform_support.h"
|
| #include "mojo/system/channel.h"
|
| #include "mojo/system/local_message_pipe_endpoint.h"
|
| #include "mojo/system/message_pipe.h"
|
| @@ -701,11 +702,14 @@ TEST_F(RemoteMessagePipeTest, MAYBE_SharedBufferPassing) {
|
| ConnectMessagePipes(mp0, mp1);
|
|
|
| // We'll try to pass this dispatcher.
|
| + embedder::SimplePlatformSupport platform_support;
|
| scoped_refptr<SharedBufferDispatcher> dispatcher;
|
| - EXPECT_EQ(
|
| - MOJO_RESULT_OK,
|
| - SharedBufferDispatcher::Create(
|
| - SharedBufferDispatcher::kDefaultCreateOptions, 100, &dispatcher));
|
| + EXPECT_EQ(MOJO_RESULT_OK,
|
| + SharedBufferDispatcher::Create(
|
| + &platform_support,
|
| + SharedBufferDispatcher::kDefaultCreateOptions,
|
| + 100,
|
| + &dispatcher));
|
| ASSERT_TRUE(dispatcher);
|
|
|
| // Make a mapping.
|
|
|