Index: components/omnibox/browser/autocomplete_input.cc |
diff --git a/components/omnibox/browser/autocomplete_input.cc b/components/omnibox/browser/autocomplete_input.cc |
index 26a8c7d0f34a1bb70d358f02d0ee768a68f2cf83..a39d823b81e7648e00519e97eefbb15f40e46449 100644 |
--- a/components/omnibox/browser/autocomplete_input.cc |
+++ b/components/omnibox/browser/autocomplete_input.cc |
@@ -265,7 +265,7 @@ metrics::OmniboxInputType::Type AutocompleteInput::Parse( |
// Check if the canonicalized host has a known TLD, which we'll want to know |
// below. |
const size_t registry_length = |
- net::registry_controlled_domains::GetRegistryLength( |
+ net::registry_controlled_domains::GetCanonicalHostRegistryLength( |
canonicalized_url->host(), |
net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, |
net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); |