Index: third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
diff --git a/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc b/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
index af0cc3a61a8fbf110fdc865f9945d0423a08c605..03aa049903dff3bf8f5127215394b10c1f687592 100644 |
--- a/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
+++ b/third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win_test.cc |
@@ -148,9 +148,9 @@ void TestCrashingChild(const base::string16& directory_modification) { |
// The child tells us (approximately) where it will crash. |
WinVMAddress break_near_address; |
- LoggingReadFile(child.stdout_read_handle(), |
- &break_near_address, |
- sizeof(break_near_address)); |
+ LoggingReadFileExactly(child.stdout_read_handle(), |
+ &break_near_address, |
+ sizeof(break_near_address)); |
delegate.set_break_near(break_near_address); |
// Wait for the child to crash and the exception information to be validated. |
@@ -250,9 +250,9 @@ void TestDumpWithoutCrashingChild( |
// The child tells us (approximately) where it will capture a dump. |
WinVMAddress dump_near_address; |
- LoggingReadFile(child.stdout_read_handle(), |
- &dump_near_address, |
- sizeof(dump_near_address)); |
+ LoggingReadFileExactly(child.stdout_read_handle(), |
+ &dump_near_address, |
+ sizeof(dump_near_address)); |
delegate.set_dump_near(dump_near_address); |
// Wait for the child to crash and the exception information to be validated. |