| Index: chrome/browser/autocomplete/autocomplete_provider.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_provider.cc b/chrome/browser/autocomplete/autocomplete_provider.cc
|
| index 72c99e861940f6a4d47374623106d78b3b480cb0..4368834224d525d65d79bf9b654f0184c1f12a9b 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_provider.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_provider.cc
|
| @@ -154,7 +154,7 @@ AutocompleteProvider::FixupReturn AutocompleteProvider::FixupUserInput(
|
| // 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,
|
|
|