summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-02 22:54:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-02 22:54:32 -0800
commit6e5759672a7dacb80348e82ef9e14aa0b3722364 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/plugins
parentcb992f06658b5dfc2075eb12f25b2b69a7482eb4 (diff)
downloadexternal_webkit-6e5759672a7dacb80348e82ef9e14aa0b3722364.zip
external_webkit-6e5759672a7dacb80348e82ef9e14aa0b3722364.tar.gz
external_webkit-6e5759672a7dacb80348e82ef9e14aa0b3722364.tar.bz2
auto import from //depot/cupcake/@137055
Diffstat (limited to 'WebCore/plugins')
-rw-r--r--WebCore/plugins/PluginInfoStore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/plugins/PluginInfoStore.cpp b/WebCore/plugins/PluginInfoStore.cpp
index 732a1e1..bd2f2d0 100644
--- a/WebCore/plugins/PluginInfoStore.cpp
+++ b/WebCore/plugins/PluginInfoStore.cpp
@@ -27,6 +27,9 @@
#include "PluginInfoStore.h"
#include "KURL.h"
+#if PLATFORM(ANDROID)
+#include "Page.h"
+#endif
#include "PluginData.h"
#include "PluginDatabase.h"
#include "PluginPackage.h"
@@ -93,11 +96,15 @@ bool PluginInfoStore::supportsMIMEType(const WebCore::String& mimeType)
void refreshPlugins(bool reloadOpenPages)
{
+#if PLATFORM(ANDROID)
+ Page::refreshPlugins(reloadOpenPages);
+#else
PluginDatabase::installedPlugins()->refresh();
if (reloadOpenPages) {
// FIXME: reload open pages
}
+#endif
}
}