Index: chrome/browser/content_settings/tab_specific_content_settings.cc |
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc |
index 671666c4f5bca883b248ee59a0aec74f12519133..92b1cbe6c69193857e0a795a4341bf52765b27bb 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc |
@@ -333,6 +333,12 @@ void TabSpecificContentSettings::OnContentBlockedWithDetail( |
} |
#endif |
+ if (type == CONTENT_SETTINGS_TYPE_KEYGEN) { |
+ HostContentSettingsMap* map = HostContentSettingsMapFactory::GetForProfile( |
+ Profile::FromBrowserContext(web_contents()->GetBrowserContext())); |
+ map->SetShouldDisplay(web_contents()->GetLastCommittedURL(), type); |
+ } |
+ |
if (type == CONTENT_SETTINGS_TYPE_PLUGINS && !details.empty() && |
std::find(blocked_plugin_names_.begin(), blocked_plugin_names_.end(), |
details) == blocked_plugin_names_.end()) { |