WebCore/plugins/mac/PluginViewMac.mm
changeset 2 303757a437d3
parent 0 4f2f89ce4247
--- a/WebCore/plugins/mac/PluginViewMac.mm	Fri Sep 17 09:02:29 2010 +0300
+++ b/WebCore/plugins/mac/PluginViewMac.mm	Mon Oct 04 01:32:07 2010 +0300
@@ -227,7 +227,10 @@
 #endif
     }
 
-    show();
+    updatePluginWidget();
+
+    if (!m_plugin->quirks().contains(PluginQuirkDeferFirstSetWindowCall))
+        setNPWindowIfNeeded();
 
     // TODO: Implement null timer throttling depending on plugin activation
     m_nullEventTimer.set(new Timer<PluginView>(this, &PluginView::nullEventTimerFired));