Index: third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc b/third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc |
index 30e880f321d54208a2d1410c59f176d2a5a3b89d..ee028683c97bdfbf9039221e7e9274e1e87e3797 100644 |
--- a/third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc |
+++ b/third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc |
@@ -28,7 +28,7 @@ class ModuleAnnotationsMultiprocessTest final : public WinMultiprocess { |
void WinMultiprocessParent() override { |
// Read the child executable module. |
HMODULE module = nullptr; |
- CheckedReadFile(ReadPipeHandle(), &module, sizeof(module)); |
+ CheckedReadFileExactly(ReadPipeHandle(), &module, sizeof(module)); |
// Reopen the child process with necessary access. |
HANDLE process_handle = |
@@ -70,7 +70,7 @@ class ModuleAnnotationsMultiprocessTest final : public WinMultiprocess { |
// Wait until a signal from the parent process to terminate. |
char c; |
- CheckedReadFile(ReadPipeHandle(), &c, sizeof(c)); |
+ CheckedReadFileExactly(ReadPipeHandle(), &c, sizeof(c)); |
} |
}; |