| Index: Source/core/animation/css/CSSAnimations.h
|
| diff --git a/Source/core/animation/css/CSSAnimations.h b/Source/core/animation/css/CSSAnimations.h
|
| index 19bb4d30d2d612e500c9f89226ddc8ba14dc0f8b..e182f96a49bdcb7445d58bae0b5b2d118cbddf66 100644
|
| --- a/Source/core/animation/css/CSSAnimations.h
|
| +++ b/Source/core/animation/css/CSSAnimations.h
|
| @@ -60,9 +60,9 @@ public:
|
|
|
| static const StylePropertyShorthand& propertiesForTransitionAll();
|
| static bool isAllowedAnimation(CSSPropertyID);
|
| - static PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> calculateUpdate(const Element* animatingElement, Element&, const ComputedStyle&, ComputedStyle* parentStyle, StyleResolver*);
|
| + static CSSAnimationUpdate* calculateUpdate(const Element* animatingElement, Element&, const ComputedStyle&, ComputedStyle* parentStyle, StyleResolver*);
|
|
|
| - void setPendingUpdate(PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> update) { m_pendingUpdate = update; }
|
| + void setPendingUpdate(CSSAnimationUpdate* update) { m_pendingUpdate = update; }
|
| void maybeApplyPendingUpdate(Element*);
|
| bool isEmpty() const { return m_animations.isEmpty() && m_transitions.isEmpty() && !m_pendingUpdate; }
|
| void cancel();
|
| @@ -70,7 +70,7 @@ public:
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - class RunningAnimation final : public RefCountedWillBeGarbageCollectedFinalized<RunningAnimation> {
|
| + class RunningAnimation final : public GarbageCollectedFinalized<RunningAnimation> {
|
| public:
|
| RunningAnimation(PassRefPtrWillBeRawPtr<Animation> animation, CSSAnimationUpdate::NewAnimation newAnimation)
|
| : animation(animation)
|
| @@ -110,17 +110,17 @@ private:
|
| }
|
|
|
| RefPtrWillBeMember<Animation> animation;
|
| - RawPtrWillBeMember<const AnimatableValue> from;
|
| - RawPtrWillBeMember<const AnimatableValue> to;
|
| + Member<const AnimatableValue> from;
|
| + Member<const AnimatableValue> to;
|
| };
|
|
|
| - using AnimationMap = WillBeHeapHashMap<AtomicString, RefPtrWillBeMember<RunningAnimation>>;
|
| + using AnimationMap = HeapHashMap<AtomicString, Member<RunningAnimation>>;
|
| AnimationMap m_animations;
|
|
|
| - using TransitionMap = WillBeHeapHashMap<CSSPropertyID, RunningTransition>;
|
| + using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>;
|
| TransitionMap m_transitions;
|
|
|
| - OwnPtrWillBeMember<CSSAnimationUpdate> m_pendingUpdate;
|
| + Member<CSSAnimationUpdate> m_pendingUpdate;
|
|
|
| ActiveInterpolationMap m_previousActiveInterpolationsForAnimations;
|
|
|
|
|