Index: chrome/browser/plugins/plugin_info_message_filter.cc |
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc |
index b1ea5b4190e5a48fe46a6b25175f27e3b463d0c3..b8cc37ac9de78d0a2b2f2b67da1187f76308789e 100644 |
--- a/chrome/browser/plugins/plugin_info_message_filter.cc |
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc |
@@ -365,7 +365,9 @@ void PluginInfoMessageFilter::Context::DecidePluginStatus( |
} |
#endif // defined(ENABLE_EXTENSIONS) |
- if (plugin_setting == CONTENT_SETTING_DETECT_IMPORTANT_CONTENT) { |
+ if (plugin_setting == CONTENT_SETTING_DETECT_IMPORTANT_CONTENT || |
+ (plugin_setting == CONTENT_SETTING_ALLOW && |
+ base::FeatureList::IsEnabled(features::kPreferHtmlOverPlugins))) { |
*status = ChromeViewHostMsg_GetPluginInfo_Status::kPlayImportantContent; |
} else if (plugin_setting == CONTENT_SETTING_BLOCK) { |
// For managed users with the ASK policy, we allow manually running plugins |