RESOLVED FIXED228132
Make the 'targetElement' argument of the SVG animators to be a reference
https://bugs.webkit.org/show_bug.cgi?id=228132
Summary Make the 'targetElement' argument of the SVG animators to be a reference
Said Abou-Hallawa
Reported 2021-07-20 16:24:22 PDT
It is clear that many SVG animators functions assume the argument 'targetElement' is not nullptr. Also the caller SVGAnimateElementBase makes sure its targetElement() is not nullptr before calling any of its animator's functions.
Attachments
Patch (69.44 KB, patch)
2021-07-20 16:31 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2021-07-20 16:31:10 PDT
Cameron McCormack (:heycam)
Comment 2 2021-07-20 17:27:14 PDT
Comment on attachment 433907 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433907&action=review Non-reviewer's r=me. > Source/WebCore/svg/SVGElement.cpp:580 > + propertyRegistry().setAnimatedPropertyDirty(attributeName, animatedProperty); (Probably should have been in a separate patch.)
EWS
Comment 3 2021-07-20 20:33:51 PDT
Committed r280123 (239835@main): <https://commits.webkit.org/239835@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433907 [details].
Radar WebKit Bug Importer
Comment 4 2021-07-20 20:34:18 PDT
Note You need to log in before you can comment on or make changes to this bug.