Index: Source/core/svg/SVGAnimatedTypeAnimator.cpp |
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
index c981f53617e2a86243b523936834db13cf1a912c..160e124a5d36729559c877e1b2e77dc75a52e4e4 100644 |
--- a/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.cpp |
@@ -21,6 +21,7 @@ |
#include "config.h" |
#include "core/svg/SVGAnimatedTypeAnimator.h" |
+#include "core/css/parser/BisonCSSParser.h" |
#include "core/svg/SVGAnimateTransformElement.h" |
#include "core/svg/SVGAnimatedColor.h" |
#include "core/svg/SVGAnimationElement.h" |
@@ -87,7 +88,7 @@ PassRefPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyForAnimation( |
switch (m_type) { |
case AnimatedColor: |
- return SVGColorProperty::create(value.isEmpty() ? StyleColor::currentColor() : SVGPaint::colorFromRGBColorString(value)); |
+ return SVGColorProperty::create(value.isEmpty() ? StyleColor::currentColor() : BisonCSSParser::colorFromRGBColorString(value)); |
case AnimatedNumber: { |
RefPtr<SVGNumber> property = SVGNumber::create(); |
property->setValueAsString(value, IGNORE_EXCEPTION); |