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

Unified Diff: third_party/crashpad/crashpad/snapshot/win/crashpad_snapshot_test_simple_annotations.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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/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..30013ec84fa35471024a2bf915a34ceb8381ca59 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
@@ -36,12 +36,14 @@ int wmain(int argc, wchar_t* argv[]) {
// Tell the parent that the environment has been set up.
HANDLE out = GetStdHandle(STD_OUTPUT_HANDLE);
- PCHECK(out != INVALID_HANDLE_VALUE) << "GetStdHandle";
+ // GetStdHandle
+ CHECK(out != INVALID_HANDLE_VALUE);
char c = ' ';
crashpad::CheckedWriteFile(out, &c, sizeof(c));
HANDLE in = GetStdHandle(STD_INPUT_HANDLE);
- PCHECK(in != INVALID_HANDLE_VALUE) << "GetStdHandle";
+ // GetStdHandle
+ CHECK(in != INVALID_HANDLE_VALUE);
crashpad::CheckedReadFile(in, &c, sizeof(c));
CHECK(c == 'd' || c == ' ');

Powered by Google App Engine
This is Rietveld 408576698