Handle layers beneath views in WindowReorderer
Layers added beneath views weren't handled in WindowReorderer::ReorderChildWindows(). When this method was called, any layers beneath would end up incorrectly stacked above all other sibling layers. This bug surfaced recently with an ink drop painting above its view. This CL exposes a View method that returns all layers associated with it that should be immediate children of its parent. ReorderChildWindows() is modified to call this instead of simply restacking the view's main layer. Bug: 973243 Change-Id: I65b5a3266bbe20afe9adb5db4acf709c6c506b16 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1663037 Commit-Queue: Collin Baker <collinbaker@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#670144}
Showing
Please register or sign in to comment