Index: Source/core/animation/css/CSSAnimatableValueFactory.cpp |
diff --git a/Source/core/animation/css/CSSAnimatableValueFactory.cpp b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
index 61306fa81bb36e144f1f3ee08f890762f7ec6557..a533c9e937d76076b4666fc43d4faf38988fc027 100644 |
--- a/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
+++ b/Source/core/animation/css/CSSAnimatableValueFactory.cpp |
@@ -37,6 +37,7 @@ |
#include "core/animation/AnimatableLengthBox.h" |
#include "core/animation/AnimatableLengthSize.h" |
#include "core/animation/AnimatableNumber.h" |
+#include "core/animation/AnimatableSVGPaint.h" |
#include "core/animation/AnimatableTransform.h" |
#include "core/animation/AnimatableUnknown.h" |
#include "core/animation/AnimatableVisibility.h" |
@@ -172,6 +173,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop |
return createFromLengthBox(style->clip(), style); |
case CSSPropertyColor: |
return createFromColor(property, style); |
+ case CSSPropertyFill: |
+ return AnimatableSVGPaint::create(style->svgStyle()->fillPaintType(), style->svgStyle()->fillPaintColor(), style->svgStyle()->fillPaintUri()); |
case CSSPropertyHeight: |
return createFromLength(style->height(), style); |
case CSSPropertyListStyleImage: |
@@ -212,6 +215,8 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop |
return createFromLength(style->paddingTop(), style); |
case CSSPropertyRight: |
return createFromLength(style->right(), style); |
+ case CSSPropertyStroke: |
+ return AnimatableSVGPaint::create(style->svgStyle()->strokePaintType(), style->svgStyle()->strokePaintColor(), style->svgStyle()->strokePaintUri()); |
case CSSPropertyTextDecorationColor: |
return createFromColor(property, style); |
case CSSPropertyTextIndent: |