Changeset 91324 in webkit


Ignore:
Timestamp:
Jul 19, 2011, 5:46:57 PM (14 years ago)
Author:
Simon Fraser
Message:

2011-07-19 Simon Fraser <Simon Fraser>

REGRESSION (r91136-r91146): 40 tests failing on Windows 7 Release (Tests)
https://bugs.webkit.org/show_bug.cgi?id=64808

Reviewed by Adam Roben.

Initializing m_uncommittedChanges to a non-zero value
caused the first call to noteLayerPropertyChanged() to
not call m_client->notifySyncRequired(). This resulted in
animations never getting committed on Windows, which broke
a lot of tests.

  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::GraphicsLayerCA):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91322 r91324  
     12011-07-19  Simon Fraser  <simon.fraser@apple.com>
     2
     3        REGRESSION (r91136-r91146): 40 tests failing on Windows 7 Release (Tests)
     4        https://bugs.webkit.org/show_bug.cgi?id=64808
     5
     6        Reviewed by Adam Roben.
     7
     8        Initializing m_uncommittedChanges to a non-zero value
     9        caused the first call to noteLayerPropertyChanged() to
     10        not call m_client->notifySyncRequired(). This resulted in
     11        animations never getting committed on Windows, which broke
     12        a lot of tests.
     13
     14        * platform/graphics/ca/GraphicsLayerCA.cpp:
     15        (WebCore::GraphicsLayerCA::GraphicsLayerCA):
     16
    1172011-07-19  James Robinson  <jamesr@chromium.org>
    218
  • trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp

    r91294 r91324  
    251251    , m_contentsLayerHasBackgroundColor(false)
    252252    , m_allowTiledLayer(true)
    253     , m_uncommittedChanges(ContentsScaleChanged)
     253    , m_uncommittedChanges(0)
    254254{
    255255    m_layer = PlatformCALayer::create(PlatformCALayer::LayerTypeWebLayer, this);
     
    260260
    261261    updateDebugIndicators();
     262    noteLayerPropertyChanged(ContentsScaleChanged);
    262263}
    263264
Note: See TracChangeset for help on using the changeset viewer.