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

Unified Diff: ppapi/shared_impl/media_stream_buffer_manager.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: ppapi/shared_impl/media_stream_buffer_manager.cc
diff --git a/ppapi/shared_impl/media_stream_buffer_manager.cc b/ppapi/shared_impl/media_stream_buffer_manager.cc
index b828c702363b407768935ee9b400911f5cb29429..43d5c2ca2a4e581c3ff95d90e6f6444db7457892 100644
--- a/ppapi/shared_impl/media_stream_buffer_manager.cc
+++ b/ppapi/shared_impl/media_stream_buffer_manager.cc
@@ -71,8 +71,10 @@ std::vector<int32_t> MediaStreamBufferManager::DequeueBuffers() {
}
void MediaStreamBufferManager::EnqueueBuffer(int32_t index) {
- CHECK_GE(index, 0) << "Invalid buffer index";
- CHECK_LT(index, number_of_buffers_) << "Invalid buffer index";
+ // Invalid buffer index
+ CHECK_GE(index, 0);
+ // Invalid buffer index
+ CHECK_LT(index, number_of_buffers_);
buffer_queue_.push_back(index);
delegate_->OnNewBufferEnqueued();
}

Powered by Google App Engine
This is Rietveld 408576698