Skip ShadowRoot::RecalcStyle for FlatTreeStyleRecalc.
The ShadowRoot does not take part in dirty marking with the FlatTreeStyleRecalc runtime flag enabled. We can just skip directly to RecalcDescendants(). Since ShadowRoot was not marked with ChildNeedsStyleRecalc we would otherwise not traverse into the shadow root children via ShadowRoot::RecalcStyle(). Bug: 972752 Change-Id: I5a3debfa25d1d431e5dab43729c843592d3c6a71 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1841339Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#703288}
Showing
Please register or sign in to comment