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

Unified Diff: trunk/src/chrome/browser/autocomplete/history_url_provider.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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
Index: trunk/src/chrome/browser/autocomplete/history_url_provider.cc
===================================================================
--- trunk/src/chrome/browser/autocomplete/history_url_provider.cc (revision 289319)
+++ trunk/src/chrome/browser/autocomplete/history_url_provider.cc (working copy)
@@ -973,7 +973,7 @@
// input's text and parts between Parse() and here, it seems better to be
// paranoid and check.
if ((input.type() != metrics::OmniboxInputType::UNKNOWN) ||
- !base::LowerCaseEqualsASCII(input.scheme(), url::kHttpScheme) ||
+ !LowerCaseEqualsASCII(input.scheme(), url::kHttpScheme) ||
!input.parts().host.is_nonempty())
return false;
const std::string host(base::UTF16ToUTF8(

Powered by Google App Engine
This is Rietveld 408576698