Skip to content
  • jamesr@google.com's avatar
    Avoid updating compositing state during paint · ef5cfe20
    jamesr@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=68727
    
    Reviewed by Simon Fraser.
    
    We shouldn't update our compositing state in the middle of a paint. The call to
    updateCompositingAndLayerListsIfNeeded() was added to RenderLayer::paintLayer in r45715, which was intended to
    fix this exact issue. Based off the ChangeLog entries, I think that this was just a typo.
    
    * rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::paintLayer):
    (WebCore::RenderLayer::updateCompositingAndLayerListsIfNeeded):
    * rendering/RenderLayerCompositor.cpp:
    (WebCore::RenderLayerCompositor::updateCompositingLayers):
    * rendering/RenderLayerCompositor.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ef5cfe20