summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/history_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/history_provider.cc')
-rw-r--r--chrome/browser/autocomplete/history_provider.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/history_provider.cc b/chrome/browser/autocomplete/history_provider.cc
index 32776b9..64d7063 100644
--- a/chrome/browser/autocomplete/history_provider.cc
+++ b/chrome/browser/autocomplete/history_provider.cc
@@ -95,7 +95,7 @@ bool HistoryProvider::FixupUserInput(AutocompleteInput* input) {
string16 output = UTF8ToUTF16(canonical_gurl_str);
// Don't prepend a scheme when the user didn't have one. Since the fixer
// upper only prepends the "http" scheme, that's all we need to check for.
- if (!HasHTTPScheme(input_text))
+ if (!AutocompleteInput::HasHTTPScheme(input_text))
TrimHttpPrefix(&output);
// Make the number of trailing slashes on the output exactly match the input.
@@ -135,7 +135,7 @@ bool HistoryProvider::FixupUserInput(AutocompleteInput* input) {
// static
size_t HistoryProvider::TrimHttpPrefix(string16* url) {
// Find any "http:".
- if (!HasHTTPScheme(*url))
+ if (!AutocompleteInput::HasHTTPScheme(*url))
return 0;
size_t scheme_pos =
url->find(ASCIIToUTF16(content::kHttpScheme) + char16(':'));