Index: mojo/edk/system/multiprocess_message_pipe_unittest.cc |
diff --git a/mojo/edk/system/multiprocess_message_pipe_unittest.cc b/mojo/edk/system/multiprocess_message_pipe_unittest.cc |
index 498980c9d0e99db6fca826a10c11e6a63077a76c..2ce226563ffeb674224895f0989a6857f31477ce 100644 |
--- a/mojo/edk/system/multiprocess_message_pipe_unittest.cc |
+++ b/mojo/edk/system/multiprocess_message_pipe_unittest.cc |
@@ -1274,7 +1274,7 @@ DEFINE_TEST_CLIENT_TEST_WITH_PIPE(MessagePipeStatusChangeInTransitClient, |
// Wait on handle 1 using a Watcher. |
{ |
base::RunLoop run_loop; |
- Watcher watcher(FROM_HERE); |
+ Watcher watcher(FROM_HERE, Watcher::ArmingPolicy::AUTOMATIC); |
watcher.Start(Handle(handles[1]), MOJO_HANDLE_SIGNAL_PEER_CLOSED, |
base::Bind([] (base::RunLoop* loop, MojoResult result) { |
EXPECT_EQ(MOJO_RESULT_OK, result); |