Index: Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
diff --git a/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp b/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
index e3077a3857d4acf749debf5cb306d7c77fccd323..bb1bed96e5b28e56c0393eb09f6220149df09765 100644 |
--- a/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
+++ b/Source/core/svg/SVGAnimatedNewPropertyAnimator.cpp |
@@ -34,11 +34,11 @@ |
#include "core/svg/SVGAnimateTransformElement.h" |
#include "core/svg/SVGAnimatedColor.h" |
#include "core/svg/SVGAnimationElement.h" |
-#include "core/svg/SVGColor.h" |
#include "core/svg/SVGElementInstance.h" |
#include "core/svg/SVGLength.h" |
#include "core/svg/SVGLengthList.h" |
#include "core/svg/SVGNumber.h" |
+#include "core/svg/SVGPaint.h" |
#include "core/svg/SVGPointList.h" |
#include "core/svg/SVGString.h" |
#include "core/svg/SVGTransformList.h" |
@@ -87,7 +87,7 @@ PassRefPtr<NewSVGPropertyBase> SVGAnimatedNewPropertyAnimator::createPropertyFor |
switch (m_type) { |
case AnimatedColor: |
- return SVGColorProperty::create(value.isEmpty() ? StyleColor::currentColor() : SVGColor::colorFromRGBColorString(value)); |
+ return SVGColorProperty::create(value.isEmpty() ? StyleColor::currentColor() : SVGPaint::colorFromRGBColorString(value)); |
case AnimatedNumber: { |
RefPtr<SVGNumber> property = SVGNumber::create(); |
property->setValueAsString(value, IGNORE_EXCEPTION); |