From 6e5759672a7dacb80348e82ef9e14aa0b3722364 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Mon, 2 Mar 2009 22:54:32 -0800 Subject: auto import from //depot/cupcake/@137055 --- WebCore/plugins/PluginInfoStore.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'WebCore/plugins') 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 } } -- cgit v1.1