Changeset 112159 in webkit


Ignore:
Timestamp:
Mar 26, 2012 3:43:43 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[chromium] assertion being hit in CCLayerTreeHost::updateCompositorResources
https://bugs.webkit.org/show_bug.cgi?id=82239

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-26
Reviewed by Adrienne Walker.

The assert is incorrect and should check the animation state on
the surface, not the owning layer.

  • platform/graphics/chromium/cc/CCLayerTreeHost.cpp:

(WebCore::CCLayerTreeHost::updateCompositorResources):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r112158 r112159  
     12012-03-26  Dana Jansens  <danakj@chromium.org>
     2
     3        [chromium] assertion being hit in CCLayerTreeHost::updateCompositorResources
     4        https://bugs.webkit.org/show_bug.cgi?id=82239
     5
     6        Reviewed by Adrienne Walker.
     7
     8        The assert is incorrect and should check the animation state on
     9        the surface, not the owning layer.
     10
     11        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
     12        (WebCore::CCLayerTreeHost::updateCompositorResources):
     13
    1142012-03-26  Levi Weintraub  <leviw@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp

    r111807 r112159  
    580580    for (CCLayerIteratorType it = CCLayerIteratorType::begin(&m_updateList); it != end; ++it) {
    581581        if (it.representsTargetRenderSurface()) {
    582             ASSERT(it->renderSurface()->drawOpacity() || it->drawOpacityIsAnimating());
     582            ASSERT(it->renderSurface()->drawOpacity() || it->renderSurface()->drawOpacityIsAnimating());
    583583            if (it->maskLayer())
    584584                it->maskLayer()->updateCompositorResources(context, updater);
Note: See TracChangeset for help on using the changeset viewer.