Index: webkit/glue/plugins/plugin_list.cc |
diff --git a/webkit/glue/plugins/plugin_list.cc b/webkit/glue/plugins/plugin_list.cc |
index d682cce24bcdeb28e9b52b352b6a65ea1b0ebc61..f2968163c7befc0d59c9df3a4a591f2730569ca2 100644 |
--- a/webkit/glue/plugins/plugin_list.cc |
+++ b/webkit/glue/plugins/plugin_list.cc |
@@ -611,7 +611,8 @@ void PluginList::GetPluginGroups( |
plugin_groups->clear(); |
for (PluginGroup::PluginMap::const_iterator it = plugin_groups_.begin(); |
it != plugin_groups_.end(); ++it) { |
- plugin_groups->push_back(*it->second); |
+ if (!it->second->IsEmpty()) |
+ plugin_groups->push_back(*it->second); |
} |
} |