Index: chrome/browser/autocomplete/history_quick_provider.cc |
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc |
index 0ae6b11027911edbbbdb9aa4ad577633ef0c7de9..65acf3ca7a9dfc293af87036c234cac245b8636a 100644 |
--- a/chrome/browser/autocomplete/history_quick_provider.cc |
+++ b/chrome/browser/autocomplete/history_quick_provider.cc |
@@ -147,9 +147,10 @@ void HistoryQuickProvider::DoAutocomplete() { |
// provider completions compete with the URL-what-you-typed |
// match as normal. |
if (url_db) { |
- const std::string host(UTF16ToUTF8(autocomplete_input_.text().substr( |
- autocomplete_input_.parts().host.begin, |
- autocomplete_input_.parts().host.len))); |
+ const std::string host(base::UTF16ToUTF8( |
+ autocomplete_input_.text().substr( |
+ autocomplete_input_.parts().host.begin, |
+ autocomplete_input_.parts().host.len))); |
// We want to put the URL-what-you-typed match first if either |
// * the user visited the URL before (intranet or internet). |
// * it's a URL on a host that user visited before and this |