| Index: Source/core/svg/SVGAnimatedColor.h
|
| diff --git a/Source/core/svg/SVGAnimatedColor.h b/Source/core/svg/SVGAnimatedColor.h
|
| index 3dfd400b8fe6659e0deaa649a3189ae184309551..212ba5c8efc7c5f3935f898eefd9dd20710cfdda 100644
|
| --- a/Source/core/svg/SVGAnimatedColor.h
|
| +++ b/Source/core/svg/SVGAnimatedColor.h
|
| @@ -42,9 +42,9 @@ class SVGAnimationElement;
|
| // FIXME: WebAnimations: Replacable with AnimatableColor once SMIL animations are implemented in WebAnimations.
|
| class SVGColorProperty final : public SVGPropertyBase {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGColorProperty> create(StyleColor styleColor)
|
| + static PassRefPtrWillBeRawPtr<SVGColorProperty> create(const String& colorString)
|
| {
|
| - return adoptRefWillBeNoop(new SVGColorProperty(styleColor));
|
| + return adoptRefWillBeNoop(new SVGColorProperty(colorString));
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override;
|
| @@ -57,11 +57,7 @@ public:
|
| static AnimatedPropertyType classType() { return AnimatedColor; }
|
|
|
| private:
|
| - explicit SVGColorProperty(StyleColor styleColor)
|
| - : SVGPropertyBase(classType())
|
| - , m_styleColor(styleColor)
|
| - {
|
| - }
|
| + explicit SVGColorProperty(const String&);
|
|
|
| StyleColor m_styleColor;
|
| };
|
|
|