Index: Source/core/animation/StringKeyframe.h |
diff --git a/Source/core/animation/StringKeyframe.h b/Source/core/animation/StringKeyframe.h |
index 839fe75da8166b60e590fee3985754a2b18195b9..376f2a7441e89bff8c4522c4948f58dacb21a294 100644 |
--- a/Source/core/animation/StringKeyframe.h |
+++ b/Source/core/animation/StringKeyframe.h |
@@ -16,9 +16,9 @@ class StyleSheetContents; |
class StringKeyframe : public Keyframe { |
public: |
- static PassRefPtrWillBeRawPtr<StringKeyframe> create() |
+ static StringKeyframe* create() |
{ |
- return adoptRefWillBeNoop(new StringKeyframe); |
+ return new StringKeyframe; |
} |
void setPropertyValue(CSSPropertyID, const String& value, Element*, StyleSheetContents*); |
@@ -46,26 +46,26 @@ public: |
CSSValue* value() const { return m_value.get(); } |
virtual void populateAnimatableValue(CSSPropertyID, Element&, const ComputedStyle* baseStyle) const; |
- virtual const PassRefPtrWillBeRawPtr<AnimatableValue> getAnimatableValue() const override final { return m_animatableValueCache.get(); } |
- void setAnimatableValue(PassRefPtrWillBeRawPtr<AnimatableValue> value) { m_animatableValueCache = value; } |
+ virtual const AnimatableValue* getAnimatableValue() const override final { return m_animatableValueCache.get(); } |
+ void setAnimatableValue(AnimatableValue* value) { m_animatableValueCache = value; } |
- virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const override final; |
- virtual PassRefPtrWillBeRawPtr<Interpolation> maybeCreateInterpolation(PropertyHandle, Keyframe::PropertySpecificKeyframe& end, Element*, const ComputedStyle* baseStyle) const override final; |
+ virtual Keyframe::PropertySpecificKeyframe* neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const override final; |
+ virtual Interpolation* maybeCreateInterpolation(PropertyHandle, Keyframe::PropertySpecificKeyframe& end, Element*, const ComputedStyle* baseStyle) const override final; |
DECLARE_VIRTUAL_TRACE(); |
private: |
CSSPropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, CSSValue*); |
- virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> cloneWithOffset(double offset) const; |
+ virtual Keyframe::PropertySpecificKeyframe* cloneWithOffset(double offset) const; |
virtual bool isCSSPropertySpecificKeyframe() const override { return true; } |
- static bool createInterpolationsFromCSSValues(CSSPropertyID, CSSValue* fromCSSValue, CSSValue* toCSSValue, Element*, OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>& interpolations); |
+ static bool createInterpolationsFromCSSValues(CSSPropertyID, CSSValue* fromCSSValue, CSSValue* toCSSValue, Element*, HeapVector<Member<Interpolation>>* interpolations); |
void populateAnimatableValueCaches(CSSPropertyID, Keyframe::PropertySpecificKeyframe&, Element*, CSSValue& fromCSSValue, CSSValue& toCSSValue) const; |
RefPtrWillBeMember<CSSValue> m_value; |
- mutable RefPtrWillBeMember<AnimatableValue> m_animatableValueCache; |
+ mutable Member<AnimatableValue> m_animatableValueCache; |
}; |
class SVGPropertySpecificKeyframe : public Keyframe::PropertySpecificKeyframe { |
@@ -74,12 +74,12 @@ public: |
const String& value() const { return m_value; } |
- virtual PassOwnPtrWillBeRawPtr<PropertySpecificKeyframe> cloneWithOffset(double offset) const override final; |
+ virtual PropertySpecificKeyframe* cloneWithOffset(double offset) const override final; |
- virtual const PassRefPtrWillBeRawPtr<AnimatableValue> getAnimatableValue() const override final { return nullptr; } |
+ virtual const AnimatableValue* getAnimatableValue() const override final { return nullptr; } |
- virtual PassOwnPtrWillBeRawPtr<PropertySpecificKeyframe> neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const override final; |
- virtual PassRefPtrWillBeRawPtr<Interpolation> maybeCreateInterpolation(PropertyHandle, Keyframe::PropertySpecificKeyframe& end, Element*, const ComputedStyle* baseStyle) const override final; |
+ virtual PropertySpecificKeyframe* neutralKeyframe(double offset, PassRefPtr<TimingFunction> easing) const override final; |
+ virtual Interpolation* maybeCreateInterpolation(PropertyHandle, Keyframe::PropertySpecificKeyframe& end, Element*, const ComputedStyle* baseStyle) const override final; |
DECLARE_VIRTUAL_TRACE(); |
@@ -98,8 +98,8 @@ private: |
StringKeyframe(const StringKeyframe& copyFrom); |
- virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const override; |
- virtual PassOwnPtrWillBeRawPtr<Keyframe::PropertySpecificKeyframe> createPropertySpecificKeyframe(PropertyHandle) const override; |
+ virtual Keyframe* clone() const override; |
+ virtual Keyframe::PropertySpecificKeyframe* createPropertySpecificKeyframe(PropertyHandle) const override; |
virtual bool isStringKeyframe() const override { return true; } |