Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: third_party/crashpad/crashpad/snapshot/api/module_annotations_win_test.cc

Issue 2773813002: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 (Closed)
Patch Set: Update Crashpad to 8e37886d418dd042c3c7bfadac99214739ee4d98 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
};

Powered by Google App Engine
This is Rietveld 408576698