Chromium Code Reviews| 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::NPAPIPluginsSupported()); |
|
scottmg
2013/07/19 20:25:01
GetInstance()
jam
2013/07/19 20:35:21
fix on the way
|
| internal_plugins_.clear(); |
| PluginList::Singleton()->GetInternalPlugins(&internal_plugins_); |