DescriptionUse more const, more RefPtrs while iterating the SVG shadow tree.
"Weak" iteration with raw pointers can cause bugs such as Issue 225403
if the tree is modified during iteration. This makes SVGUseElement use
RefPtrs when appending children, and const pointers other times, when
iterating over the tree.
Plus some lint fixes.
BUG=225420
Committed: https://crrev.com/7d78afae216dbb4326bdfbe5c806a3801207ea77
Cr-Commit-Position: refs/heads/master@{#351974}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|