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

Unified Diff: media/capture/video/file_video_capture_device.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/capture/video/file_video_capture_device.cc
diff --git a/media/capture/video/file_video_capture_device.cc b/media/capture/video/file_video_capture_device.cc
index b52f352c3fa346f8ca7f2e3d049e77945ea021eb..66fa4147beea7926ae3acb3f2b9a003d61446fd9 100644
--- a/media/capture/video/file_video_capture_device.cc
+++ b/media/capture/video/file_video_capture_device.cc
@@ -27,7 +27,7 @@ static const float kMJpegFrameRate = 30.0f;
int ParseY4MInt(const base::StringPiece& token) {
int temp_int;
- CHECK(base::StringToInt(token, &temp_int)) << token;
+ CHECK(base::StringToInt(token, &temp_int));
return temp_int;
}
@@ -91,8 +91,9 @@ void ParseY4MTags(const std::string& file_header,
// Pixel aspect ratio ignored.
break;
case 'C':
- CHECK(token == "420" || token == "420jpeg" || token == "420paldv")
- << token; // Only I420 is supported, and we fudge the variants.
+ CHECK(token == "420" || token == "420jpeg" ||
+ token == "420paldv"); // Only I420 is supported, and we fudge the
+ // variants.
break;
default:
break;

Powered by Google App Engine
This is Rietveld 408576698