ClearChildNeedsReattachLayoutTree after pseudo elements done.
Instead of doing this call inside RebuildChildrenLayoutTrees, wait until we have finished all pseudo element children as well. This is done in preparation for ::first-letter update changes and split out from [1]. The other call-site for RebuildChildrenLayoutTrees, ShadowRoot::RebuildLayoutTree, already cleared this flag afterwards. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1155591 Bug: 847218 Change-Id: I72816c5249bcb863fab906ffef90c026619d8165 Reviewed-on: https://chromium-review.googlesource.com/1156387Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#579806}
Showing
Please register or sign in to comment