Index: Source/core/svg/SVGAnimatedTypeAnimator.cpp |
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
index f07214c46dca34afd2d61604161303009d7744c8..ec826804439b09595588e137fd68797dbde93b81 100644 |
--- a/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
@@ -21,7 +21,6 @@ |
#include "config.h" |
#include "core/svg/SVGAnimatedTypeAnimator.h" |
-#include "core/css/parser/CSSParser.h" |
#include "core/svg/SVGAnimateTransformElement.h" |
#include "core/svg/SVGAnimatedColor.h" |
#include "core/svg/SVGAnimationElement.h" |
@@ -97,7 +96,7 @@ PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyF |
switch (m_type) { |
case AnimatedColor: |
- return SVGColorProperty::create(value.isEmpty() ? StyleColor::currentColor() : CSSParser::colorFromRGBColorString(value)); |
+ return SVGColorProperty::create(value); |
case AnimatedNumber: { |
RefPtrWillBeRawPtr<SVGNumber> property = SVGNumber::create(); |
property->setValueAsString(value, IGNORE_EXCEPTION); |