[Squad] Re-add null check for layout parent.
Because of issue 831568, we may end up trying to generate pseudo elements for element outside the flat tree if we did a getComputedStyle for all non-flat-tree ancestors and then triggered style invalidation of the pseudo element's originating element. This is not a new issue, but [1] boldly tried to make the if-test for a layout parent a DCHECK. This CL is effectively reverting that change. This should ultimately be fixed by fixing 831568 and re-introduce DCHECK instead of the if-test. [1] https://crrev.com/86f6eefc70ed2aa46969754e207198bd6917ee33 Bug: 862098, 831568 Change-Id: Id10fdbe28592e492ef6903b82d2fc47bff930ea4 Reviewed-on: https://chromium-review.googlesource.com/1146729Reviewed-by:Anders Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#577245}
Showing
Please register or sign in to comment