Index: chrome/browser/safe_browsing/ui_manager.cc |
diff --git a/chrome/browser/safe_browsing/ui_manager.cc b/chrome/browser/safe_browsing/ui_manager.cc |
index 4d60ecea7d234f0085d1f6f2ccddd7474dc01618..d0eebfe421dd4c4fcc97e423402d5723017aff10 100644 |
--- a/chrome/browser/safe_browsing/ui_manager.cc |
+++ b/chrome/browser/safe_browsing/ui_manager.cc |
@@ -255,7 +255,7 @@ void SafeBrowsingUIManager::UpdateWhitelist(const UnsafeResource& resource) { |
entry.render_process_host_id = resource.render_process_host_id; |
entry.render_view_id = resource.render_view_id; |
entry.domain = net::RegistryControlledDomainService::GetDomainAndRegistry( |
- resource.url); |
+ resource.url, net::RCDS::EXCLUDE_PRIVATE_REGISTRIES); |
entry.threat_type = resource.threat_type; |
white_listed_entries_.push_back(entry); |
} |
@@ -279,7 +279,7 @@ bool SafeBrowsingUIManager::IsWhitelisted(const UnsafeResource& resource) { |
resource.threat_type == SB_THREAT_TYPE_URL_PHISHING)) && |
entry.domain == |
net::RegistryControlledDomainService::GetDomainAndRegistry( |
- resource.url)) { |
+ resource.url, net::RCDS::EXCLUDE_PRIVATE_REGISTRIES)) { |
return true; |
} |
} |