| Index: Source/core/animation/AnimationStack.cpp
|
| diff --git a/Source/core/animation/AnimationStack.cpp b/Source/core/animation/AnimationStack.cpp
|
| index 8e0fab0c9e622455bb27b5d232d2971d5ecc74b9..cce36a42f3cf3158fd74caafc8934c52c97e0ce7 100644
|
| --- a/Source/core/animation/AnimationStack.cpp
|
| +++ b/Source/core/animation/AnimationStack.cpp
|
| @@ -42,7 +42,7 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| -void copyToActiveInterpolationMap(const WillBeHeapVector<RefPtrWillBeMember<blink::Interpolation> >& source, WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<blink::Interpolation> >& target)
|
| +void copyToActiveInterpolationMap(const WillBeHeapVector<RefPtrWillBeMember<blink::Interpolation>>& source, WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<blink::Interpolation>>& target)
|
| {
|
| for (const auto& interpolation : source) {
|
| target.set(toStyleInterpolation(interpolation.get())->id(), interpolation.get());
|
| @@ -55,7 +55,7 @@ bool compareEffects(const OwnPtrWillBeMember<SampledEffect>& effect1, const OwnP
|
| return effect1->sequenceNumber() < effect2->sequenceNumber();
|
| }
|
|
|
| -void copyNewAnimationsToActiveInterpolationMap(const WillBeHeapVector<RawPtrWillBeMember<InertAnimation> >& newAnimations, WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> >& result)
|
| +void copyNewAnimationsToActiveInterpolationMap(const WillBeHeapVector<RawPtrWillBeMember<InertAnimation>>& newAnimations, WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation>>& result)
|
| {
|
| for (const auto& newAnimation : newAnimations) {
|
| OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> sample = nullptr;
|
| @@ -80,14 +80,14 @@ bool AnimationStack::hasActiveAnimationsOnCompositor(CSSPropertyID property) con
|
| return false;
|
| }
|
|
|
| -WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> > AnimationStack::activeInterpolations(AnimationStack* animationStack, const WillBeHeapVector<RawPtrWillBeMember<InertAnimation> >* newAnimations, const WillBeHeapHashSet<RawPtrWillBeMember<const AnimationPlayer> >* suppressedAnimationPlayers, Animation::Priority priority, double timelineCurrentTime)
|
| +WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation>> AnimationStack::activeInterpolations(AnimationStack* animationStack, const WillBeHeapVector<RawPtrWillBeMember<InertAnimation>>* newAnimations, const WillBeHeapHashSet<RawPtrWillBeMember<const AnimationPlayer>>* suppressedAnimationPlayers, Animation::Priority priority, double timelineCurrentTime)
|
| {
|
| // We don't exactly know when new animations will start, but timelineCurrentTime is a good estimate.
|
|
|
| - WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> > result;
|
| + WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation>> result;
|
|
|
| if (animationStack) {
|
| - WillBeHeapVector<OwnPtrWillBeMember<SampledEffect> >& effects = animationStack->m_effects;
|
| + WillBeHeapVector<OwnPtrWillBeMember<SampledEffect>>& effects = animationStack->m_effects;
|
| // std::sort doesn't work with OwnPtrs
|
| nonCopyingSort(effects.begin(), effects.end(), compareEffects);
|
| for (const auto& effect : effects) {
|
|
|