Index: chrome/browser/autocomplete/autocomplete_provider.cc |
diff --git a/chrome/browser/autocomplete/autocomplete_provider.cc b/chrome/browser/autocomplete/autocomplete_provider.cc |
index db083c82bfd56c242a32bbee242e79276d677519..0c582d6f512ea25b8d16e40895da107b7e49d119 100644 |
--- a/chrome/browser/autocomplete/autocomplete_provider.cc |
+++ b/chrome/browser/autocomplete/autocomplete_provider.cc |
@@ -151,7 +151,7 @@ bool AutocompleteProvider::FixupUserInput(AutocompleteInput* input) { |
// for hostname beginning with numbers (e.g. input of "17173" will be matched |
// against "0.0.67.21" instead of the original "17173", failing to find |
// "17173.com"), swap the original hostname in for the fixed-up one. |
- if ((input->type() != AutocompleteInput::URL) && |
+ if ((input->type() != metrics::OmniboxInputType::URL) && |
canonical_gurl.HostIsIPAddress()) { |
std::string original_hostname = |
base::UTF16ToUTF8(input_text.substr(input->parts().host.begin, |