summaryrefslogtreecommitdiff
path: root/Source/WebCore/plugins/PluginPackage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/PluginPackage.cpp')
-rw-r--r--Source/WebCore/plugins/PluginPackage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/plugins/PluginPackage.cpp b/Source/WebCore/plugins/PluginPackage.cpp
index ffce76d7a..78e8bdb41 100644
--- a/Source/WebCore/plugins/PluginPackage.cpp
+++ b/Source/WebCore/plugins/PluginPackage.cpp
@@ -205,7 +205,9 @@ void PluginPackage::determineQuirks(const String& mimeType)
}
#if PLATFORM(QT)
- // Flash will crash on repeated calls to SetWindow in windowed mode
+ // Flash will crash on repeated calls to SetWindow in windowed mode.
+ // Defer the setWindow, so we don't set it to the wrong size too early.
+ m_quirks.add(PluginQuirkDeferFirstSetWindowCall);
m_quirks.add(PluginQuirkDontCallSetWindowMoreThanOnce);
#endif