Fix relative lengths teardown in SVGElement::RemoveFrom.
Fix of https://chromium-review.googlesource.com/c/chromium/src/+/1986325 due to ClusterFuzz DCHECK failure (flaky). SVGElement::RemovedFrom was not tearing down elements_with_relative_lengths_ correctly when those references crossed a shadow root. Downgrade the SECURITY_DCHECK on the relative lengths list to a regular DCHECK as it was preventing dangling pointers to Elements in the pre-oilpan days and is no longer protecting against any kind of security issue (the pointers are now WeakMembers). Bug: 1043184 Change-Id: I0ba614a0217dea4df80a743b0628f7fe94117cd8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2008624Reviewed-by:Rune Lillesveen <futhark@chromium.org> Reviewed-by:
Fredrik Söderquist <fs@opera.com> Commit-Queue: George Steel <gtsteel@chromium.org> Cr-Commit-Position: refs/heads/master@{#734067}
Showing
Please register or sign in to comment