| Index: sandbox/win/src/ipc_unittest.cc
|
| diff --git a/sandbox/win/src/ipc_unittest.cc b/sandbox/win/src/ipc_unittest.cc
|
| index ddad9b4283bc72b6d48ad71dad2b486e3931c305..ec98aecd802934c1bb6628abfb39f851ebe6e049 100644
|
| --- a/sandbox/win/src/ipc_unittest.cc
|
| +++ b/sandbox/win/src/ipc_unittest.cc
|
| @@ -616,10 +616,10 @@ TEST(IPCTest, SharedMemServerTests) {
|
| UnitTestIPCDispatcher dispatcher;
|
| // Since we are directly calling InvokeCallback, most of this structure
|
| // can be set to NULL.
|
| - sandbox::SharedMemIPCServer::ServerControl srv_control = {
|
| - NULL, NULL, kIPCChannelSize, NULL,
|
| - reinterpret_cast<char*>(client_control),
|
| - NULL, &dispatcher, {0} };
|
| + sandbox::SharedMemIPCServer::ServerControl srv_control = {};
|
| + srv_control.channel_size = kIPCChannelSize;
|
| + srv_control.shared_base = reinterpret_cast<char*>(client_control);
|
| + srv_control.dispatcher = &dispatcher;
|
|
|
| sandbox::CrossCallReturn call_return = {0};
|
| EXPECT_TRUE(SharedMemIPCServer::InvokeCallback(&srv_control, buff,
|
|
|