Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/plugin_loader_posix.cc
===================================================================
--- content/browser/plugin_loader_posix.cc (revision 212595)
+++ content/browser/plugin_loader_posix.cc (working copy)
@@ -13,6 +13,7 @@
#include "content/common/plugin_list.h"
#include "content/common/utility_messages.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/browser/plugin_service.h"
namespace content {
@@ -75,7 +76,9 @@
next_load_index_ = 0;
canonical_list_.clear();
- PluginList::Singleton()->GetPluginPathsToLoad(&canonical_list_);
+ PluginList::Singleton()->GetPluginPathsToLoad(
+ &canonical_list_,
+ PluginService::GetInstance()->NPAPIPluginsSupported());
internal_plugins_.clear();
PluginList::Singleton()->GetInternalPlugins(&internal_plugins_);

Powered by Google App Engine
This is Rietveld 408576698