summaryrefslogtreecommitdiffstats
path: root/webkit/port/bridge/chromium/PluginsChromium.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/bridge/chromium/PluginsChromium.cpp')
-rw-r--r--webkit/port/bridge/chromium/PluginsChromium.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/port/bridge/chromium/PluginsChromium.cpp b/webkit/port/bridge/chromium/PluginsChromium.cpp
index ef7572a..eb6188d 100644
--- a/webkit/port/bridge/chromium/PluginsChromium.cpp
+++ b/webkit/port/bridge/chromium/PluginsChromium.cpp
@@ -35,6 +35,7 @@
#include "config.h"
+#include "PluginData.h"
#pragma warning(push, 0)
#include "PluginInfoStore.h"
#pragma warning(pop)
@@ -68,6 +69,8 @@ void LoadPlugins(bool refresh)
// deleting contents of the PluginInfo.
PluginInfo* PluginInfoStore::createPluginInfoForPluginAtIndex(unsigned int index)
{
+ LoadPlugins(false);
+
WebCore::PluginInfo* rv = new WebCore::PluginInfo();
const WebPluginInfo& plugin = g_plugins[index];
rv->name = webkit_glue::StdWStringToString(plugin.name);