summaryrefslogtreecommitdiffstats
path: root/webkit/api
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 00:43:21 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 00:43:21 +0000
commit92899e21866e90a17e365704ed310b5641423a1e (patch)
tree06b2b2e881933260e2993134af6b3e21ef20ea48 /webkit/api
parent1e59d767e37888d61dbee21a3ef6d52409e21ea5 (diff)
downloadchromium_src-92899e21866e90a17e365704ed310b5641423a1e.zip
chromium_src-92899e21866e90a17e365704ed310b5641423a1e.tar.gz
chromium_src-92899e21866e90a17e365704ed310b5641423a1e.tar.bz2
Fix two issues with the plugin installer.
The first is that we weren't reloading the pages with plugins. The second is that there was a InstallerDialog instance per plugin object on the page. On a page like nytimes.com that creates and destroys a Flash object on loading, this meant that if the user clicked on the plugin/infobar inbetween, the dialog would show up and then get hidden abruptly. TEST=go to nytimes.com on a machine without Flash installed and click the infobar as soon as it shows up. BUG=20690 Review URL: http://codereview.chromium.org/179051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r--webkit/api/src/WebKit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/api/src/WebKit.cpp b/webkit/api/src/WebKit.cpp
index 55b9088..8bdf2a8 100644
--- a/webkit/api/src/WebKit.cpp
+++ b/webkit/api/src/WebKit.cpp
@@ -137,7 +137,7 @@ void enableMediaPlayer()
void resetPluginCache()
{
- WebCore::Page::refreshPlugins(false);
+ WebCore::Page::refreshPlugins(true);
}
void enableDatabases()