| Index: third_party/crashpad/crashpad/util/win/exception_handler_server_test.cc
|
| diff --git a/third_party/crashpad/crashpad/util/win/exception_handler_server_test.cc b/third_party/crashpad/crashpad/util/win/exception_handler_server_test.cc
|
| index e94b91d5da6df88fa5f0cb7d232d5966bc353f99..e9f865bef9c1bb595d1bf1dee3054c606e8a7e3c 100644
|
| --- a/third_party/crashpad/crashpad/util/win/exception_handler_server_test.cc
|
| +++ b/third_party/crashpad/crashpad/util/win/exception_handler_server_test.cc
|
| @@ -143,10 +143,11 @@ TEST_F(ExceptionHandlerServerTest, StopWhileConnected) {
|
|
|
| std::wstring ReadWString(FileHandle handle) {
|
| size_t length = 0;
|
| - EXPECT_TRUE(LoggingReadFile(handle, &length, sizeof(length)));
|
| + EXPECT_TRUE(LoggingReadFileExactly(handle, &length, sizeof(length)));
|
| std::wstring str(length, L'\0');
|
| if (length > 0) {
|
| - EXPECT_TRUE(LoggingReadFile(handle, &str[0], length * sizeof(str[0])));
|
| + EXPECT_TRUE(
|
| + LoggingReadFileExactly(handle, &str[0], length * sizeof(str[0])));
|
| }
|
| return str;
|
| }
|
|
|