Title: [134222] trunk/Source/WebCore
- Revision
- 134222
- Author
- [email protected]
- Date
- 2012-11-12 06:33:23 -0800 (Mon, 12 Nov 2012)
Log Message
[Qt] Flash-plugin starts with wrong width
https://bugs.webkit.org/show_bug.cgi?id=101836
Patch by Allan Sandfeld Jensen <[email protected]> on 2012-11-12
Reviewed by Simon Hausmann.
Defer the setWindow call, so that the one time it is called it will have its final size.
* plugins/PluginPackage.cpp:
(WebCore::PluginPackage::determineQuirks):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (134221 => 134222)
--- trunk/Source/WebCore/ChangeLog 2012-11-12 14:18:45 UTC (rev 134221)
+++ trunk/Source/WebCore/ChangeLog 2012-11-12 14:33:23 UTC (rev 134222)
@@ -1,3 +1,15 @@
+2012-11-12 Allan Sandfeld Jensen <[email protected]>
+
+ [Qt] Flash-plugin starts with wrong width
+ https://bugs.webkit.org/show_bug.cgi?id=101836
+
+ Reviewed by Simon Hausmann.
+
+ Defer the setWindow call, so that the one time it is called it will have its final size.
+
+ * plugins/PluginPackage.cpp:
+ (WebCore::PluginPackage::determineQuirks):
+
2012-11-12 Tommy Widenflycht <[email protected]>
Remove the V8 custom code for WebSockets constructor
Modified: trunk/Source/WebCore/plugins/PluginPackage.cpp (134221 => 134222)
--- trunk/Source/WebCore/plugins/PluginPackage.cpp 2012-11-12 14:18:45 UTC (rev 134221)
+++ trunk/Source/WebCore/plugins/PluginPackage.cpp 2012-11-12 14:33:23 UTC (rev 134222)
@@ -205,7 +205,9 @@
}
#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
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes