| Index: mojo/edk/js/tests/js_to_cpp_tests.cc
|
| diff --git a/mojo/edk/js/tests/js_to_cpp_tests.cc b/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| index e5e6bd1dbf156454cdeb87dd1b1a752b02aac93b..b6b74e31fbfdc692fc2b8ec00faef1d82c215471 100644
|
| --- a/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| +++ b/mojo/edk/js/tests/js_to_cpp_tests.cc
|
| @@ -25,6 +25,7 @@
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "mojo/public/cpp/bindings/lib/validation_errors.h"
|
| #include "mojo/public/cpp/system/core.h"
|
| +#include "mojo/public/cpp/system/wait.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace mojo {
|
| @@ -76,9 +77,7 @@ void CheckDataPipe(ScopedDataPipeConsumerHandle data_pipe_handle) {
|
| void CheckMessagePipe(MessagePipeHandle message_pipe_handle) {
|
| unsigned char buffer[100];
|
| uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer));
|
| - MojoResult result = Wait(
|
| - message_pipe_handle, MOJO_HANDLE_SIGNAL_READABLE,
|
| - MOJO_DEADLINE_INDEFINITE, nullptr);
|
| + MojoResult result = Wait(message_pipe_handle, MOJO_HANDLE_SIGNAL_READABLE);
|
| EXPECT_EQ(MOJO_RESULT_OK, result);
|
| result = ReadMessageRaw(
|
| message_pipe_handle, buffer, &buffer_size, 0, 0, 0);
|
|
|