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

Unified Diff: media/formats/mp4/avc_unittest.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: media/formats/mp4/avc_unittest.cc
diff --git a/media/formats/mp4/avc_unittest.cc b/media/formats/mp4/avc_unittest.cc
index dd635c5371f7bf7ac0a9cb788f4ffa1762391029..6142683ed8a651486075093d6270e4fb80be99fb 100644
--- a/media/formats/mp4/avc_unittest.cc
+++ b/media/formats/mp4/avc_unittest.cc
@@ -63,7 +63,8 @@ static H264NALU::Type StringToNALUType(const std::string& name) {
if (name == "R14")
return H264NALU::kReserved14;
- CHECK(false) << "Unexpected name: " << name;
+ // Unexpected name.
+ CHECK(false);
return H264NALU::kUnspecified;
}
@@ -105,7 +106,8 @@ static std::string NALUTypeToString(int type) {
case H264NALU::kReserved18:
case H264NALU::kCodedSliceAux:
case H264NALU::kCodedSliceExtension:
- CHECK(false) << "Unexpected type: " << type;
+ // Unexpected type.
+ CHECK(false);
break;
};

Powered by Google App Engine
This is Rietveld 408576698