Index: chrome/browser/autocomplete/search_provider.cc |
=================================================================== |
--- chrome/browser/autocomplete/search_provider.cc (revision 231939) |
+++ chrome/browser/autocomplete/search_provider.cc (working copy) |
@@ -1674,7 +1674,8 @@ |
untrimmed_fill_into_edit.find(input) : prefix->prefix.length(); |
size_t inline_autocomplete_offset = (prefix == NULL) ? |
string16::npos : (match_start + input.length()); |
- bool trim_http = !HasHTTPScheme(input) && (!prefix || (match_start != 0)); |
+ bool trim_http = !AutocompleteInput::HasHTTPScheme(input) && |
+ (!prefix || (match_start != 0)); |
// Preserve the forced query '?' prefix in |match.fill_into_edit|. |
// Otherwise, user edits to a suggestion would show non-Search results. |