Index: third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc b/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc |
index b66a19e128965e6603d916a28f27e44ebda0fb52..11e7b4e73f693f1d646c841cec0da821ccac30bc 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc |
@@ -42,7 +42,7 @@ int wmain(int argc, wchar_t* argv[]) { |
HANDLE in = GetStdHandle(STD_INPUT_HANDLE); |
PCHECK(in != INVALID_HANDLE_VALUE) << "GetStdHandle"; |
- crashpad::CheckedReadFile(in, &c, sizeof(c)); |
+ crashpad::CheckedReadFileExactly(in, &c, sizeof(c)); |
CHECK(c == 'd' || c == ' '); |
// If 'd' we crash with a debug break, otherwise exit normally. |