summaryrefslogtreecommitdiffstats
path: root/WebCore/plugins/mac/PluginViewMac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/plugins/mac/PluginViewMac.mm')
-rw-r--r--WebCore/plugins/mac/PluginViewMac.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/plugins/mac/PluginViewMac.mm b/WebCore/plugins/mac/PluginViewMac.mm
index 8d64c24..e0ad135 100644
--- a/WebCore/plugins/mac/PluginViewMac.mm
+++ b/WebCore/plugins/mac/PluginViewMac.mm
@@ -227,7 +227,10 @@ bool PluginView::platformStart()
#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));