Chromium Code Reviews
DescriptionFix nullptr deref in InvalidateKeyframeEffect
Animation::InvalidateKeyframeEffect assumed that if it had content then
it had a target element. After implementing the Animation constructor,
it was possible to have created an Animation object with a
KeyframeEffect with no target element. This patch checks whether the
target is nullptr before dereferencing.
BUG=734721
Review-Url: https://codereview.chromium.org/2961573002
Cr-Commit-Position: refs/heads/master@{#482558}
Committed: https://chromium.googlesource.com/chromium/src/+/e4424b5ca106bdb36ad962a9daadb86131576e98
Patch Set 1 #
Total comments: 4
Patch Set 2 : Response to review #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||||||||||||||||||||