-
Ahmed Fakhry authored
ui::RecreateLayers() works only with LayerOwners. This means that Shadow which creates its own layers won't be recreated and the old layers won't be returned in the old layer tree returned by ui::RecreateLayers(). This fixes the shadow disappearing for the window-move-to-desk animation. BUG=977434 TEST=Manually, shadow should show while animating, no change in behavior. Change-Id: Iabd12036821a35b56804b5ac774714598fb39e95 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1711046 Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#681158}
34972974