| Index: webkit/support/webkit_support_glue.cc
|
| diff --git a/webkit/support/webkit_support_glue.cc b/webkit/support/webkit_support_glue.cc
|
| index 02a2233d011f8ddb1a31aa8cc74fb699da999ff7..8ca07be83bd3a27e8eb7a72f43ad0498ba745087 100644
|
| --- a/webkit/support/webkit_support_glue.cc
|
| +++ b/webkit/support/webkit_support_glue.cc
|
| @@ -16,7 +16,9 @@ namespace webkit_glue {
|
|
|
| void GetPlugins(bool refresh,
|
| std::vector<webkit::npapi::WebPluginInfo>* plugins) {
|
| - webkit::npapi::PluginList::Singleton()->GetPlugins(refresh, plugins);
|
| + if (refresh)
|
| + webkit::npapi::PluginList::Singleton()->RefreshPlugins();
|
| + webkit::npapi::PluginList::Singleton()->GetPlugins(plugins);
|
| // Don't load the forked npapi_layout_test_plugin in DRT, we only want to
|
| // use the upstream version TestNetscapePlugIn.
|
| const FilePath::StringType kPluginBlackList[] = {
|
|
|