Index: third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc |
diff --git a/third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc b/third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc |
index c968f7103fa3c0d612064390de5cebf90a398143..f770456e9ec10a56a3af3a5c19e5798367082685 100644 |
--- a/third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc |
+++ b/third_party/crashpad/crashpad/util/win/scoped_process_suspend_test.cc |
@@ -14,6 +14,7 @@ |
#include "util/win/scoped_process_suspend.h" |
+#include <stddef.h> |
#include <tlhelp32.h> |
#include <algorithm> |
@@ -80,7 +81,7 @@ class ScopedProcessSuspendTest final : public WinChildProcess { |
int Run() override { |
char c; |
// Wait for notification from parent. |
- EXPECT_TRUE(LoggingReadFile(ReadPipeHandle(), &c, sizeof(c))); |
+ EXPECT_TRUE(LoggingReadFileExactly(ReadPipeHandle(), &c, sizeof(c))); |
EXPECT_EQ(' ', c); |
return EXIT_SUCCESS; |
} |