summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.cc
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 17:45:46 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 17:45:46 +0000
commitb39c9b201b7a950c647cd9d79494b74692dfeb56 (patch)
treed2dec1cb8f613e3f56b90651c5e4ae073048b038 /content/browser/plugin_service_impl.cc
parent135e429c705aa5b8fd26f2b0a46ad63451817b3c (diff)
downloadchromium_src-b39c9b201b7a950c647cd9d79494b74692dfeb56.zip
chromium_src-b39c9b201b7a950c647cd9d79494b74692dfeb56.tar.gz
chromium_src-b39c9b201b7a950c647cd9d79494b74692dfeb56.tar.bz2
Remove the default plugin.
TBR=darin@chromium.org BUG=62079 TEST=none Review URL: http://codereview.chromium.org/9074004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl.cc')
-rw-r--r--content/browser/plugin_service_impl.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc
index cdb4db9..fad5d5e 100644
--- a/content/browser/plugin_service_impl.cc
+++ b/content/browser/plugin_service_impl.cc
@@ -451,13 +451,6 @@ bool PluginServiceImpl::GetPluginInfo(int render_process_id,
url, mime_type, allow_wildcard, &plugins, &mime_types);
if (is_stale)
*is_stale = stale;
- if (plugins.size() > 1 &&
- plugins.back().path ==
- FilePath(webkit::npapi::kDefaultPluginLibraryName)) {
- // If there is at least one plug-in handling the required MIME type (apart
- // from the default plug-in), we don't need the default plug-in.
- plugins.pop_back();
- }
for (size_t i = 0; i < plugins.size(); ++i) {
if (!filter_ || filter_->ShouldUsePlugin(render_process_id,