Use FlatTreeParentChanged() for re-distributed v0 shadow nodes.
Getting rid of LazyReattachIfAttached for shadow DOM. FlatTreeParentChanged() will mark the node for kLocalStyleChangestyle style recalc (for new inheritance parent), and forced re-attachment in the next lifecycle update instead of doing a synchronous DetachLayoutTree() first. Bug: 925826 Change-Id: Ia14964f855bfea35089b66d11c9412fe22800813 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1591620Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#655971}
Showing
Please register or sign in to comment