| Index: Source/core/animation/ColorStyleInterpolation.h
|
| diff --git a/Source/core/animation/ColorStyleInterpolation.h b/Source/core/animation/ColorStyleInterpolation.h
|
| index cc25f026afc8457059bdf7368bdf1ab27ac03df0..57c9b6f196f0dc77daf30e117af876b3e168c3bc 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 PassRefPtr<ColorStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
|
| {
|
| - return adoptRefWillBeNoop(new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id));
|
| + return adoptRef(new ColorStyleInterpolation(colorToInterpolableValue(start), colorToInterpolableValue(end), id));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<ColorStyleInterpolation> maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
| + static PassRefPtr<ColorStyleInterpolation> maybeCreateFromColor(const CSSValue& start, const CSSValue& end, CSSPropertyID);
|
|
|
| static bool shouldUseLegacyStyleInterpolation(const CSSValue& start, const CSSValue& end);
|
|
|
| @@ -27,15 +27,13 @@ public:
|
|
|
| void apply(StyleResolverState&) const override;
|
|
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| private:
|
| - ColorStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
|
| + ColorStyleInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, CSSPropertyID id)
|
| : StyleInterpolation(start, end, id)
|
| {
|
| }
|
|
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&);
|
| + static PassOwnPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&);
|
| static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> interpolableValueToColor(const InterpolableValue&);
|
|
|
| friend class AnimationColorStyleInterpolationTest;
|
|
|