| Index: chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| diff --git a/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc b/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| index 65351c638c3fb3300864e9bf333b4b4bd15a5a56..6c517ca1b52d19f849b8efc8cbceef32a55c429a 100644
|
| --- a/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| +++ b/chrome/renderer/safe_browsing/phishing_url_feature_extractor.cc
|
| @@ -40,7 +40,7 @@ bool PhishingUrlFeatureExtractor::ExtractFeatures(const GURL& url,
|
| // Disallow unknown registries so that we don't classify
|
| // partial hostnames (e.g. "www.subdomain").
|
| size_t registry_length =
|
| - net::registry_controlled_domains::GetRegistryLength(
|
| + net::registry_controlled_domains::GetRegistryLengthForCanonicalHost(
|
| host,
|
| net::registry_controlled_domains::EXCLUDE_UNKNOWN_REGISTRIES,
|
| net::registry_controlled_domains::EXCLUDE_PRIVATE_REGISTRIES);
|
|
|