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

Unified Diff: components/omnibox/url_prefix.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger 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: components/omnibox/url_prefix.cc
diff --git a/components/omnibox/url_prefix.cc b/components/omnibox/url_prefix.cc
index be5a5ef40e19123a14d3a0a41329af2062d4dbcf..b1fdcdb7e77698c452e6f339d437825201bc02c5 100644
--- a/components/omnibox/url_prefix.cc
+++ b/components/omnibox/url_prefix.cc
@@ -71,7 +71,7 @@ const URLPrefix* URLPrefix::BestURLPrefix(const base::string16& text,
bool URLPrefix::PrefixMatch(const URLPrefix& prefix,
const base::string16& text,
const base::string16& prefix_suffix) {
- return StartsWith(text, prefix.prefix + prefix_suffix, false);
+ return base::StartsWith(text, prefix.prefix + prefix_suffix, false);
}
// static
« no previous file with comments | « components/omnibox/suggestion_answer.cc ('k') | components/pairing/bluetooth_controller_pairing_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698