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

Unified Diff: components/dom_distiller/standalone/content_extractor_browsertest.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/dom_distiller/standalone/content_extractor_browsertest.cc
diff --git a/components/dom_distiller/standalone/content_extractor_browsertest.cc b/components/dom_distiller/standalone/content_extractor_browsertest.cc
index cbae88bcab0bd2cec43e3aa9382feb3677e93954..4f87d72b169aaaf1d7bd5989bdfb0f7c9e0ac602 100644
--- a/components/dom_distiller/standalone/content_extractor_browsertest.cc
+++ b/components/dom_distiller/standalone/content_extractor_browsertest.cc
@@ -307,7 +307,8 @@ class ContentExtractionRequest : public ViewRequestDelegate {
void OnArticleReady(const DistilledArticleProto* article_proto) override {
article_proto_ = article_proto;
- CHECK(article_proto->pages_size()) << "Failed extracting " << url_;
+ // Failed extracting |url_|.
+ CHECK(article_proto->pages_size());
base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
finished_callback_);
}

Powered by Google App Engine
This is Rietveld 408576698