Index: content/common/pepper_plugin_registry.cc |
diff --git a/content/common/pepper_plugin_registry.cc b/content/common/pepper_plugin_registry.cc |
index 80154f5b4dfc5d2f8c66090fc39c25e8fe93cc56..38304d3b5f575d94f9a5a34daf63fcb7a1a23ee9 100644 |
--- a/content/common/pepper_plugin_registry.cc |
+++ b/content/common/pepper_plugin_registry.cc |
@@ -88,22 +88,12 @@ webkit::WebPluginInfo PepperPluginInfo::ToWebPluginInfo() const { |
info.desc = ASCIIToUTF16(description); |
info.mime_types = mime_types; |
- webkit::WebPluginInfo::EnabledStates enabled_state = |
- webkit::WebPluginInfo::USER_ENABLED_POLICY_UNMANAGED; |
- |
- if (!enabled) { |
- enabled_state = |
- webkit::WebPluginInfo::USER_DISABLED_POLICY_UNMANAGED; |
- } |
- |
- info.enabled = enabled_state; |
return info; |
} |
PepperPluginInfo::PepperPluginInfo() |
: is_internal(false), |
- is_out_of_process(false), |
- enabled(true) { |
+ is_out_of_process(false) { |
} |
PepperPluginInfo::~PepperPluginInfo() { |
@@ -118,7 +108,6 @@ bool MakePepperPluginInfo(const webkit::WebPluginInfo& webplugin_info, |
webplugin_info.type == |
webkit::WebPluginInfo::PLUGIN_TYPE_PEPPER_OUT_OF_PROCESS; |
- pepper_info->enabled = webkit::IsPluginEnabled(webplugin_info); |
pepper_info->path = FilePath(webplugin_info.path); |
pepper_info->name = UTF16ToASCII(webplugin_info.name); |
pepper_info->description = UTF16ToASCII(webplugin_info.desc); |