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..8e70d96d28d965b40b0c347a1aa96d04b373ea63 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::GetRegistryLengthForCanonicalHost( |
canonicalized_url->host(), |
net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES, |
net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES); |