diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 20:08:32 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-22 20:08:32 +0000 |
commit | ef65f48857ee9d56b841f5285d087f07f102b49f (patch) | |
tree | f0af22111bc09609ef3511630491842b8d09dd80 | |
parent | 7bffd08c27787a806bd89529e694ffa3f90883cb (diff) | |
download | chromium_src-ef65f48857ee9d56b841f5285d087f07f102b49f.zip chromium_src-ef65f48857ee9d56b841f5285d087f07f102b49f.tar.gz chromium_src-ef65f48857ee9d56b841f5285d087f07f102b49f.tar.bz2 |
Fix painting issue in Reader 9.2.
I don't know exactly what the cause of the bug is. But through experimentation I found that the plugin starts painting after the second NPP_Setwindow call.
BUG=24883
Review URL: http://codereview.chromium.org/315013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29805 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl_win.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_win.cc b/webkit/glue/plugins/webplugin_delegate_impl_win.cc index 9d8ed45..06f105c 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_win.cc +++ b/webkit/glue/plugins/webplugin_delegate_impl_win.cc @@ -267,6 +267,9 @@ WebPluginDelegateImpl::WebPluginDelegateImpl( int major = static_cast<int>(StringToInt64(version[0])); if (major >= 9) { quirks_ |= PLUGIN_QUIRK_DIE_AFTER_UNLOAD; + + // 9.2 needs this. + quirks_ |= PLUGIN_QUIRK_SETWINDOW_TWICE; } } quirks_ |= PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS; |