Index: third_party/crashpad/crashpad/snapshot/win/process_reader_win_test.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/process_reader_win_test.cc b/third_party/crashpad/crashpad/snapshot/win/process_reader_win_test.cc |
index b9befc9aaab280d863125beb15985c73c1831ab3..af57c62289c446425a267368321465ebea1b94a5 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/process_reader_win_test.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/process_reader_win_test.cc |
@@ -69,7 +69,7 @@ class ProcessReaderChild final : public WinMultiprocess { |
#endif |
WinVMAddress address; |
- CheckedReadFile(ReadPipeHandle(), &address, sizeof(address)); |
+ CheckedReadFileExactly(ReadPipeHandle(), &address, sizeof(address)); |
char buffer[sizeof(kTestMemory)]; |
ASSERT_TRUE( |
@@ -142,7 +142,7 @@ class ProcessReaderChildThreadSuspendCount final : public WinMultiprocess { |
void WinMultiprocessParent() override { |
char c; |
- CheckedReadFile(ReadPipeHandle(), &c, sizeof(c)); |
+ CheckedReadFileExactly(ReadPipeHandle(), &c, sizeof(c)); |
ASSERT_EQ(' ', c); |
{ |