Index: mojo/public/cpp/test_support/lib/test_utils.cc |
diff --git a/mojo/public/cpp/test_support/lib/test_utils.cc b/mojo/public/cpp/test_support/lib/test_utils.cc |
index 481fd6ee61e1c1d0a586e00b01c4aff4d0ebc475..210c6b10cab5dfcc7cc3ad7891dec068b7512e2c 100644 |
--- a/mojo/public/cpp/test_support/lib/test_utils.cc |
+++ b/mojo/public/cpp/test_support/lib/test_utils.cc |
@@ -38,7 +38,8 @@ bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { |
assert(false); // Looping endlessly!? |
return false; |
} |
- rv = Wait(handle, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE); |
+ rv = Wait(handle, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE, |
+ nullptr); |
if (rv != MOJO_RESULT_OK) |
return false; |
did_wait = true; |