Changeset 258916 in webkit
- Timestamp:
- Mar 24, 2020 10:20:33 AM (4 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r258913 r258916 1 2020-03-24 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Clean timeline headers up 4 https://bugs.webkit.org/show_bug.cgi?id=209482 5 6 Reviewed by Antti Koivisto. 7 8 The AnimationTimeline::removeAnimationsForElement() method isn't used and DocumentTimeline::applyPendingAcceleratedAnimations() 9 is only used internally in DocumentTimeline so it can be made private. 10 11 * animation/AnimationTimeline.cpp: 12 (WebCore::AnimationTimeline::removeAnimationsForElement): Deleted. 13 * animation/AnimationTimeline.h: 14 * animation/DocumentTimeline.h: 15 1 16 2020-03-24 Antoine Quint <graouts@apple.com> 2 17 -
trunk/Source/WebCore/animation/AnimationTimeline.cpp
r258842 r258916 194 194 } 195 195 196 void AnimationTimeline::removeAnimationsForElement(Element& element)197 {198 for (auto& animation : animationsForElement(element))199 animation->remove();200 }201 202 196 void AnimationTimeline::willChangeRendererForElement(Element& element) 203 197 { -
trunk/Source/WebCore/animation/AnimationTimeline.h
r258842 r258916 62 62 63 63 void elementWasRemoved(Element&); 64 void removeAnimationsForElement(Element&);65 64 66 65 void willChangeRendererForElement(Element&); -
trunk/Source/WebCore/animation/DocumentTimeline.h
r257417 r258916 67 67 bool isRunningAcceleratedAnimationOnRenderer(RenderElement&, CSSPropertyID) const; 68 68 void animationAcceleratedRunningStateDidChange(WebAnimation&); 69 void applyPendingAcceleratedAnimations();70 69 bool runningAnimationsForElementAreAllAccelerated(Element&) const; 71 70 void detachFromDocument(); … … 90 89 91 90 DOMHighResTimeStamp liveCurrentTime() const; 91 void applyPendingAcceleratedAnimations(); 92 92 void cacheCurrentTime(DOMHighResTimeStamp); 93 93 void maybeClearCachedCurrentTime();
Note: See TracChangeset
for help on using the changeset viewer.