Index: third_party/crashpad/crashpad/test/win/win_child_process.cc |
diff --git a/third_party/crashpad/crashpad/test/win/win_child_process.cc b/third_party/crashpad/crashpad/test/win/win_child_process.cc |
index 156aa6dc120e5a7db1b7c3b15c35a9fb4d8aa342..06ab21b21265789af77207b8d86916844acca83a 100644 |
--- a/third_party/crashpad/crashpad/test/win/win_child_process.cc |
+++ b/third_party/crashpad/crashpad/test/win/win_child_process.cc |
@@ -203,7 +203,7 @@ std::unique_ptr<WinChildProcess::Handles> WinChildProcess::Launch() { |
// immediately, and test code expects process initialization to have |
// completed so it can, for example, read the process memory. |
char c; |
- if (!LoggingReadFile(handles_for_parent->read.get(), &c, sizeof(c))) { |
+ if (!LoggingReadFileExactly(handles_for_parent->read.get(), &c, sizeof(c))) { |
ADD_FAILURE() << "LoggedReadFile"; |
return std::unique_ptr<Handles>(); |
} |