Index: ipc/attachment_broker_unprivileged_win_unittest.cc |
diff --git a/ipc/attachment_broker_unprivileged_win_unittest.cc b/ipc/attachment_broker_unprivileged_win_unittest.cc |
index c2609976b2dced1306253545d76ede927090682e..e67c54a61c7390d4ad16ac6c6c83be3d5913c709 100644 |
--- a/ipc/attachment_broker_unprivileged_win_unittest.cc |
+++ b/ipc/attachment_broker_unprivileged_win_unittest.cc |
@@ -20,7 +20,7 @@ TEST(AttachmentBrokerUnprivilegedWinTest, ReceiveValidMessage) { |
HANDLE handle = LongToHandle(8); |
base::ProcessId destination = base::Process::Current().Pid(); |
scoped_refptr<internal::HandleAttachmentWin> attachment( |
- new internal::HandleAttachmentWin(handle)); |
+ new internal::HandleAttachmentWin(handle, HandleWin::DUPLICATE)); |
AttachmentBrokerMsg_WinHandleHasBeenDuplicated msg( |
attachment->GetWireFormat(destination)); |
AttachmentBrokerUnprivilegedWin attachment_broker; |
@@ -40,7 +40,7 @@ TEST(AttachmentBrokerUnprivilegedWinTest, ReceiveInvalidMessage) { |
HANDLE handle = LongToHandle(8); |
base::ProcessId destination = base::Process::Current().Pid() + 1; |
scoped_refptr<internal::HandleAttachmentWin> attachment( |
- new internal::HandleAttachmentWin(handle)); |
+ new internal::HandleAttachmentWin(handle, HandleWin::DUPLICATE)); |
AttachmentBrokerMsg_WinHandleHasBeenDuplicated msg( |
attachment->GetWireFormat(destination)); |
AttachmentBrokerUnprivilegedWin attachment_broker; |