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

Unified Diff: chrome/browser/autocomplete/builtin_provider.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: chrome/browser/autocomplete/builtin_provider.cc
diff --git a/chrome/browser/autocomplete/builtin_provider.cc b/chrome/browser/autocomplete/builtin_provider.cc
index 431ab46a8ed297df6d058cb5b55a3dc786034b78..6710e15905935dc92db5cb0d4e920abb3851acd0 100644
--- a/chrome/browser/autocomplete/builtin_provider.cc
+++ b/chrome/browser/autocomplete/builtin_provider.cc
@@ -115,7 +115,7 @@ void BuiltinProvider::Start(const AutocompleteInput& input,
false) &&
base::StartsWith(blank_host, host, false) &&
(url.path().length() <= 1) &&
- !EndsWith(text, base::ASCIIToUTF16("/"), false)) {
+ !base::EndsWith(text, base::ASCIIToUTF16("/"), false)) {
ACMatchClassifications styles;
styles.push_back(ACMatchClassification(0, kMatch));
base::string16 match = base::ASCIIToUTF16(url::kAboutBlankURL);

Powered by Google App Engine
This is Rietveld 408576698