equal
deleted
inserted
replaced
588 |
588 |
589 bool AnimationInfo::AddAnimationsForProperty( |
589 bool AnimationInfo::AddAnimationsForProperty( |
590 nsIFrame* aFrame, const EffectSet* aEffects, |
590 nsIFrame* aFrame, const EffectSet* aEffects, |
591 const nsTArray<RefPtr<dom::Animation>>& aCompositorAnimations, |
591 const nsTArray<RefPtr<dom::Animation>>& aCompositorAnimations, |
592 const Maybe<TransformData>& aTransformData, nsCSSPropertyID aProperty, |
592 const Maybe<TransformData>& aTransformData, nsCSSPropertyID aProperty, |
593 Send aSendFlag, LayerManager* aLayerManager) { |
593 Send aSendFlag, WebRenderLayerManager* aLayerManager) { |
594 bool addedAny = false; |
594 bool addedAny = false; |
595 // Add from first to last (since last overrides) |
595 // Add from first to last (since last overrides) |
596 for (dom::Animation* anim : aCompositorAnimations) { |
596 for (dom::Animation* anim : aCompositorAnimations) { |
597 if (!anim->IsRelevant()) { |
597 if (!anim->IsRelevant()) { |
598 continue; |
598 continue; |
906 } |
906 } |
907 } |
907 } |
908 |
908 |
909 void AnimationInfo::AddAnimationsForDisplayItem( |
909 void AnimationInfo::AddAnimationsForDisplayItem( |
910 nsIFrame* aFrame, nsDisplayListBuilder* aBuilder, nsDisplayItem* aItem, |
910 nsIFrame* aFrame, nsDisplayListBuilder* aBuilder, nsDisplayItem* aItem, |
911 DisplayItemType aType, LayerManager* aLayerManager, |
911 DisplayItemType aType, WebRenderLayerManager* aLayerManager, |
912 const Maybe<LayoutDevicePoint>& aPosition) { |
912 const Maybe<LayoutDevicePoint>& aPosition) { |
913 Send sendFlag = !aBuilder ? Send::NextTransaction : Send::Immediate; |
913 Send sendFlag = !aBuilder ? Send::NextTransaction : Send::Immediate; |
914 if (sendFlag == Send::NextTransaction) { |
914 if (sendFlag == Send::NextTransaction) { |
915 ClearAnimationsForNextTransaction(); |
915 ClearAnimationsForNextTransaction(); |
916 } else { |
916 } else { |