Missing nullptr check for pseudo style
ComputedStyle from PseudoStyleForElement may be null if there are no matching rules. It shouldn't really happen here, but the code for updating paint layers on style recalc is computing style for children, which is potentially problematic and should be avoided. Updated FIXME to reflect that. Bug: 1150472 Change-Id: Iba6af725d50093113a1a5a18ac9ac95cb249fe59 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2594909 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#837634}
Showing
Please register or sign in to comment