Changeset 134222 in webkit


Ignore:
Timestamp:
Nov 12, 2012 6:33:23 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Flash-plugin starts with wrong width
https://bugs.webkit.org/show_bug.cgi?id=101836

Patch by Allan Sandfeld Jensen <sandfeld@kde.org> 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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r134221 r134222  
     12012-11-12  Allan Sandfeld Jensen  <sandfeld@kde.org>
     2
     3        [Qt] Flash-plugin starts with wrong width
     4        https://bugs.webkit.org/show_bug.cgi?id=101836
     5
     6        Reviewed by Simon Hausmann.
     7
     8        Defer the setWindow call, so that the one time it is called it will have its final size.
     9
     10        * plugins/PluginPackage.cpp:
     11        (WebCore::PluginPackage::determineQuirks):
     12
    1132012-11-12  Tommy Widenflycht  <tommyw@google.com>
    214
  • trunk/Source/WebCore/plugins/PluginPackage.cpp

    r100725 r134222  
    206206
    207207#if PLATFORM(QT)
    208         // Flash will crash on repeated calls to SetWindow in windowed mode
     208        // Flash will crash on repeated calls to SetWindow in windowed mode.
     209        // Defer the setWindow, so we don't set it to the wrong size too early.
     210        m_quirks.add(PluginQuirkDeferFirstSetWindowCall);
    209211        m_quirks.add(PluginQuirkDontCallSetWindowMoreThanOnce);
    210212#endif
Note: See TracChangeset for help on using the changeset viewer.