| Index: third_party/crashpad/crashpad/handler/win/crashy_test_program.cc
|
| diff --git a/third_party/crashpad/crashpad/handler/win/crashy_test_program.cc b/third_party/crashpad/crashpad/handler/win/crashy_test_program.cc
|
| index b6e044c8a8ede9726d292782bfc07c36d4874bcb..18cdff5ae3021a686d91a173d8a823015d081096 100644
|
| --- a/third_party/crashpad/crashpad/handler/win/crashy_test_program.cc
|
| +++ b/third_party/crashpad/crashpad/handler/win/crashy_test_program.cc
|
| @@ -83,7 +83,8 @@ void AllocateMemoryOfVariousProtections() {
|
| // !vprot.
|
| void* reserve = VirtualAlloc(
|
| nullptr, arraysize(kPageTypes) * kPageSize, MEM_RESERVE, PAGE_READWRITE);
|
| - PCHECK(reserve) << "VirtualAlloc MEM_RESERVE";
|
| + // VirtualAlloc MEM_RESERVE
|
| + CHECK(reserve);
|
| uintptr_t reserve_as_int = reinterpret_cast<uintptr_t>(reserve);
|
|
|
| for (size_t i = 0; i < arraysize(kPageTypes); ++i) {
|
| @@ -92,7 +93,8 @@ void AllocateMemoryOfVariousProtections() {
|
| kPageSize,
|
| MEM_COMMIT,
|
| kPageTypes[i]);
|
| - PCHECK(result) << "VirtualAlloc MEM_COMMIT " << i;
|
| + // VirtualAlloc MEM_COMMIT |i|
|
| + CHECK(result);
|
| }
|
| }
|
|
|
|
|