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 576c70a8bc805ad278f217e39b047a2fdeb259ca..b47ea209020146d129564ff2234cb34ec45009c4 100644 |
--- a/mojo/public/cpp/test_support/lib/test_utils.cc |
+++ b/mojo/public/cpp/test_support/lib/test_utils.cc |
@@ -38,7 +38,7 @@ bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { |
assert(false); // Looping endlessly!? |
return false; |
} |
- rv = Wait(handle, MOJO_WAIT_FLAG_READABLE, MOJO_DEADLINE_INDEFINITE); |
+ rv = Wait(handle, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE); |
if (rv != MOJO_RESULT_OK) |
return false; |
did_wait = true; |