Index: Source/core/animation/ColorStyleInterpolation.h |
diff --git a/Source/core/animation/ColorStyleInterpolation.h b/Source/core/animation/ColorStyleInterpolation.h |
index f8ed13bf5c9b66c1ed1169193390fc22657f3067..361be754c71aec5e720880a9dcac5f8261757b20 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; |