Use Element creation flags on PseudoElement.
It was almost the same. The kNeedsReattachLayoutTree flag was already set explicitly after creation when needed. The only difference apart from that was the kChildNeedsStyleRecalcFlag. Having that set on pseudo elements also should not hurt. Change-Id: I354beda2cee8c5c0f3c585a79141a74e3675bced Reviewed-on: https://chromium-review.googlesource.com/c/1311921Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#604560}
Showing
Please register or sign in to comment