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

Unified Diff: components/omnibox/history_provider.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/history_provider.cc
diff --git a/components/omnibox/history_provider.cc b/components/omnibox/history_provider.cc
index 0772b1eeba9c80d61d6e8398b9dae26f3c17f754..f78ccb3ddf54894f88ac5ae25c068cc6ed76ff92 100644
--- a/components/omnibox/history_provider.cc
+++ b/components/omnibox/history_provider.cc
@@ -39,7 +39,7 @@ bool HistoryProvider::PreventInlineAutocomplete(
const AutocompleteInput& input) {
return input.prevent_inline_autocomplete() ||
(!input.text().empty() &&
- IsWhitespace(input.text()[input.text().length() - 1]));
+ base::IsUnicodeWhitespace(input.text()[input.text().length() - 1]));
}
HistoryProvider::HistoryProvider(AutocompleteProvider::Type type,
« no previous file with comments | « components/gcm_driver/instance_id/instance_id_driver_unittest.cc ('k') | components/omnibox/scored_history_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698