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

Unified Diff: media/filters/h264_bitstream_buffer.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/filters/h264_bitstream_buffer.cc
diff --git a/media/filters/h264_bitstream_buffer.cc b/media/filters/h264_bitstream_buffer.cc
index cb81b086ffdaae8818f7bc904bcb817ce3949d5d..dffce7cf25665e93146d32a3f020956f016e806d 100644
--- a/media/filters/h264_bitstream_buffer.cc
+++ b/media/filters/h264_bitstream_buffer.cc
@@ -32,7 +32,8 @@ void H264BitstreamBuffer::Reset() {
void H264BitstreamBuffer::Grow() {
data_ = static_cast<uint8_t*>(realloc(data_, capacity_ + kGrowBytes));
- CHECK(data_) << "Failed growing the buffer";
+ // Failed growing the buffer
+ CHECK(data_);
capacity_ += kGrowBytes;
}

Powered by Google App Engine
This is Rietveld 408576698