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

Unified Diff: chromecast/media/base/decrypt_context_impl.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: chromecast/media/base/decrypt_context_impl.cc
diff --git a/chromecast/media/base/decrypt_context_impl.cc b/chromecast/media/base/decrypt_context_impl.cc
index 07cd81e6540bbb0021d243efeaf08f91677828d9..5ae92909fd0aae108f0e2d5eaad441b5121d16e0 100644
--- a/chromecast/media/base/decrypt_context_impl.cc
+++ b/chromecast/media/base/decrypt_context_impl.cc
@@ -38,7 +38,8 @@ bool DecryptContextImpl::Decrypt(CastDecoderBuffer* buffer,
bool success = false;
DecryptAsync(buffer, output, data_offset,
base::Bind(&BufferDecryptCB, &called, &success));
- CHECK(called) << "Sync Decrypt isn't supported";
+ // Sync Decrypt isn't supported
+ CHECK(called);
return success;
}

Powered by Google App Engine
This is Rietveld 408576698