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

Unified Diff: chrome/browser/search/search.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: chrome/browser/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index 479d095524a926ed10138f895be3decaf15cdd40..052643d3f41ea2d2687f469468de4d967b884086 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -396,8 +396,8 @@ GURL GetSearchResultPrefetchBaseURL(Profile* profile) {
}
GURL GetEffectiveURLForInstant(const GURL& url, Profile* profile) {
- CHECK(ShouldAssignURLToInstantRenderer(url, profile))
- << "Error granting Instant access.";
+ // Error granting Instant access.
+ CHECK(ShouldAssignURLToInstantRenderer(url, profile));
if (url.SchemeIs(chrome::kChromeSearchScheme))
return url;

Powered by Google App Engine
This is Rietveld 408576698