Changeset 274824 in webkit
- Timestamp:
- Mar 22, 2021, 5:18:41 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
animation/WebAnimation.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r274822 r274824 1 2021-03-22 Ian Gilbert <iang@apple.com> 2 3 [Web Animations] nullptr crash in updatePlaybackRate() with no timeline 4 https://bugs.webkit.org/show_bug.cgi?id=223095 5 6 Reviewed by Ryosuke Niwa. 7 8 Changed to WebAnimation::remove() to use setTimeline() instead of setTimelineInternal() 9 to ensure the animation is in the correct play state. 10 11 No new tests as this relies on navigating while updating the playback rate and I was unable to make 12 a reliable test case. 13 14 * animation/WebAnimation.cpp: 15 (WebCore::WebAnimation::remove): Changed setTimelineInternal() to setTimeline() in order to 16 ensure the animation has the correct play state. 17 1 18 2021-03-22 Patrick Angle <pangle@apple.com> 2 19 -
trunk/Source/WebCore/animation/WebAnimation.cpp
r274067 r274824 121 121 auto protectedThis = makeRef(*this); 122 122 setEffectInternal(nullptr); 123 setTimeline Internal(nullptr);123 setTimeline(nullptr); 124 124 } 125 125
Note:
See TracChangeset
for help on using the changeset viewer.