| Index: chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
|
| index 55afb31f851c4720aac7847be73e2af8545a4514..7776d093645f6686a28237a06d895d0ebde6035f 100644
|
| --- a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
|
| +++ b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc
|
| @@ -205,11 +205,13 @@ TEST_F(NativeMessagingTest, SingleSendMessageWrite) {
|
| CreateNamedPipeW(pipe_name.c_str(),
|
| PIPE_ACCESS_OUTBOUND | FILE_FLAG_OVERLAPPED |
|
| FILE_FLAG_FIRST_PIPE_INSTANCE,
|
| - PIPE_TYPE_BYTE, 1, 0, 0, 5000, NULL));
|
| + PIPE_TYPE_BYTE, 1, 0, 0, 5000, NULL),
|
| + true);
|
| ASSERT_TRUE(write_handle.IsValid());
|
| base::File read_handle(
|
| CreateFileW(pipe_name.c_str(), GENERIC_READ, 0, NULL, OPEN_EXISTING,
|
| - FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, NULL));
|
| + FILE_ATTRIBUTE_NORMAL | FILE_FLAG_OVERLAPPED, NULL),
|
| + true);
|
| ASSERT_TRUE(read_handle.IsValid());
|
|
|
| read_file = read_handle.Pass();
|
|
|