• danakj's avatar
    cc: Fix DCHECK when impl thread changes scale on a layer being hidden. · 72ab277e
    danakj authored
    If a layer is being hidden (no longer part of the
    RenderSurfaceLayerList), then we will not UpdateTiles to add tilings to
    it. If scales change on the active tree, the recycle tree will lose
    its tilings, then the hidden layer will have 0 tilings on the pending
    tree.
    
    In this case, instead of keeping the non-ideal tilings on the active
    tree, and having no high-res tiling, drop the non-ideal tilings from
    the active tree.
    
    R=enne, vmpstr
    BUG=446751
    
    Review URL: https://codereview.chromium.org/924213002
    
    Cr-Commit-Position: refs/heads/master@{#316368}
    72ab277e
picture_layer_tiling_set.cc 17.9 KB