Index: Source/core/animation/ColorStyleInterpolation.h |
diff --git a/Source/core/animation/ColorStyleInterpolation.h b/Source/core/animation/ColorStyleInterpolation.h |
index cc25f026afc8457059bdf7368bdf1ab27ac03df0..d415d5f0bb5932fcebad05487f6d5ab9af5c9862 100644 |
--- a/Source/core/animation/ColorStyleInterpolation.h |
+++ b/Source/core/animation/ColorStyleInterpolation.h |
@@ -14,12 +14,12 @@ namespace blink { |
class CORE_EXPORT ColorStyleInterpolation : public StyleInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<ColorStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id) |
+ static ColorStyleInterpolation* create(const CSSValue& start, const CSSValue& end, CSSPropertyID id) |
{ |
- return adoptRefWillBeNoop(new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id)); |
+ return new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id); |
} |
- static PassRefPtrWillBeRawPtr<ColorStyleInterpolation> maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID); |
+ static ColorStyleInterpolation* maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID); |
static bool shouldUseLegacyStyleInterpolation(const CSSValue& start, const CSSValue& end); |
@@ -30,12 +30,12 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
private: |
- ColorStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id) |
+ ColorStyleInterpolation(InterpolableValue* start, InterpolableValue* end, CSSPropertyID id) |
: StyleInterpolation(start, end, id) |
{ |
} |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&); |
+ static InterpolableValue* colorToInterpolableValue(const CSSValue&); |
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> interpolableValueToColor(const InterpolableValue&); |
friend class AnimationColorStyleInterpolationTest; |