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

Unified Diff: chrome/browser/search/search.cc

Issue 265743003: Change a DCHECK to CHECK in chrome::ExtractSearchTermsFromURL(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change DCHECK -> CHECK Created 6 years, 8 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index b1934df12235525a8029aa0c5ecee9999f95bb14..46ea5d7e4e3ab02515a255dc344330ff31a90a0b 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -408,7 +408,9 @@ base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url) {
// page.
InstantSearchPrerenderer* prerenderer =
InstantSearchPrerenderer::GetForProfile(profile);
- DCHECK(prerenderer);
+ // TODO(kmadhusu): Remove this CHECK after the investigation of
+ // crbug.com/367204.
+ CHECK(prerenderer);
return prerenderer->get_last_query();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698