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

Unified Diff: components/pdf/renderer/pepper_pdf_host.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: components/pdf/renderer/pepper_pdf_host.cc
diff --git a/components/pdf/renderer/pepper_pdf_host.cc b/components/pdf/renderer/pepper_pdf_host.cc
index c56d78e97ca11dac681911a558d2a9168da609ae..cdf5bde6944fe3d1ef3fab75335945297a582a68 100644
--- a/components/pdf/renderer/pepper_pdf_host.cc
+++ b/components/pdf/renderer/pepper_pdf_host.cc
@@ -56,8 +56,8 @@ bool PepperPDFHost::InvokePrintingForInstance(PP_Instance instance_id) {
// static
void PepperPDFHost::SetPrintClient(PepperPDFHost::PrintClient* client) {
- CHECK(!g_print_client_tls.Pointer()->Get())
- << "There should only be a single PrintClient for one RenderThread.";
+ // There should only be a single PrintClient for one RenderThread.
+ CHECK(!g_print_client_tls.Pointer()->Get());
g_print_client_tls.Pointer()->Set(client);
}

Powered by Google App Engine
This is Rietveld 408576698