diff options
Diffstat (limited to 'webkit/glue/plugins/webplugin_delegate_impl_mac.mm')
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl_mac.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm index 9664534..5d85208 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm +++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm @@ -394,8 +394,7 @@ bool WebPluginDelegateImpl::PlatformInitialize() { // Let the WebPlugin know that we are windowless (unless this is a // Core Animation plugin, in which case BindFakePluginWindowHandle will take // care of setting up the appropriate window handle). - if (drawing_model != NPDrawingModelCoreAnimation || - drawing_model != NPDrawingModelInvalidatingCoreAnimation) + if (!layer_) plugin_->SetWindow(NULL); #ifndef NP_NO_CARBON |