• David Black's avatar
    Fix ink drop crash in holding space item views. · c6862fce
    David Black authored
    When deleting holding space item views (such as occurs when unpinning)
    the ink drop layers for the view can attempt to be reordered on the
    parent which causes a crash. This is most easily reproducible by trying
    to unpin the last pinned file in the pinned files section.
    
    Note that the solution reparents ink drop layers to be within the
    holding space item view hierarchy which also addresses an issue where
    ink drop layers did not animate in/out with the layer for animating
    holding space item view.
    
    Bug: 1157280
    Change-Id: I4d7daf831e46d3bdd7bf049b49e15b53319cc2c0
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587519
    Commit-Queue: David Black <dmblack@google.com>
    Reviewed-by: default avatarToni Baržić <tbarzic@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#836400}
    c6862fce
holding_space_constants.h 3.06 KB