diff options
author | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 09:17:20 +0000 |
---|---|---|
committer | bauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-02 09:17:20 +0000 |
commit | 9420283b16b82f3765e2c32a6f5035fe65c267f5 (patch) | |
tree | 98281b2bc31ab9525e7df703e855a871097240fe /chrome/renderer | |
parent | 2f29377e44efc45a2b7346af87886818ace70b79 (diff) | |
download | chromium_src-9420283b16b82f3765e2c32a6f5035fe65c267f5.zip chromium_src-9420283b16b82f3765e2c32a6f5035fe65c267f5.tar.gz chromium_src-9420283b16b82f3765e2c32a6f5035fe65c267f5.tar.bz2 |
Record received data in WebViewPlugin and replay it when loading the real plugin.
BUG=49686
TEST=Block all plugins, directly open a page that is displayed by a plugin (an SWF file, or a PDF if the plugin works), and click on the placeholder. The plugin should load normally.
Review URL: http://codereview.chromium.org/3038027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/blocked_plugin.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/blocked_plugin.cc b/chrome/renderer/blocked_plugin.cc index b5c3ec0..4f981da 100644 --- a/chrome/renderer/blocked_plugin.cc +++ b/chrome/renderer/blocked_plugin.cc @@ -82,6 +82,7 @@ void BlockedPlugin::LoadPlugin() { FilePath()); if (new_plugin && new_plugin->initialize(container)) { container->setPlugin(new_plugin); + plugin_->ReplayReceivedData(new_plugin); container->invalidate(); container->reportGeometry(); plugin_->destroy(); |