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

Unified Diff: components/omnibox/scored_history_match.cc

Issue 1200053004: Move more string_util functions 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: components/omnibox/scored_history_match.cc
diff --git a/components/omnibox/scored_history_match.cc b/components/omnibox/scored_history_match.cc
index 2914f7d6fa3c70c8daaede215e3f3b9c955984c7..5f05d342b7c979dc0edc3de4c8087f5112f0e8ab 100644
--- a/components/omnibox/scored_history_match.cc
+++ b/components/omnibox/scored_history_match.cc
@@ -194,7 +194,7 @@ ScoredHistoryMatch::ScoredHistoryMatch(
// For a URL like "http://www.washingtonmutual.com", this means
// typing "w" will inline "ashington..." instead of "ww.washington...".
if (!url_matches.empty() && (terms_vector.size() == 1) &&
- !IsWhitespace(*lower_string.rbegin())) {
+ !base::IsUnicodeWhitespace(*lower_string.rbegin())) {
const base::string16 gurl_spec = base::UTF8ToUTF16(gurl.spec());
const URLPrefix* best_inlineable_prefix =
URLPrefix::BestURLPrefix(gurl_spec, terms_vector[0]);
« no previous file with comments | « components/omnibox/history_provider.cc ('k') | components/password_manager/core/browser/affiliation_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698