Index: content/shell/shell_plugin_service_filter.cc |
diff --git a/content/shell/shell_plugin_service_filter.cc b/content/shell/shell_plugin_service_filter.cc |
index bd26bbc82b525313e580c35e15a840a10f0b3d78..516c5c2119ae59a47eebbd8a6e3dc2a4a962b9db 100644 |
--- a/content/shell/shell_plugin_service_filter.cc |
+++ b/content/shell/shell_plugin_service_filter.cc |
@@ -20,11 +20,7 @@ bool ShellPluginServiceFilter::IsPluginAvailable( |
const GURL& url, |
const GURL& policy_url, |
webkit::WebPluginInfo* plugin) { |
- if (plugin->name == ASCIIToUTF16("WebKit Test PlugIn") || |
- plugin->name == ASCIIToUTF16("NPAPI Test Plugin")) { |
- return true; |
- } |
- return false; |
+ return plugin->name == ASCIIToUTF16("WebKit Test PlugIn"); |
Bernhard Bauer
2013/05/28 09:52:26
I'm not a fan of making decisions based on plug-in
|
} |
bool ShellPluginServiceFilter::CanLoadPlugin(int render_process_id, |