| Index: Source/core/animation/AnimatableValueTestHelper.cpp
|
| diff --git a/Source/core/animation/AnimatableValueTestHelper.cpp b/Source/core/animation/AnimatableValueTestHelper.cpp
|
| index da6958cfc219ad90c5eb4d684fde09915cb53c44..1dbea4284b3f2281941dfa01b83a0fab51ff1fbc 100644
|
| --- a/Source/core/animation/AnimatableValueTestHelper.cpp
|
| +++ b/Source/core/animation/AnimatableValueTestHelper.cpp
|
| @@ -120,7 +120,7 @@ void PrintTo(const AnimatableRepeatable& animValue, ::std::ostream* os)
|
| void PrintTo(const AnimatableSVGLength& animSVGLength, ::std::ostream* os)
|
| {
|
| *os << "AnimatableSVGLength("
|
| - << animSVGLength.toSVGLength().valueAsString().utf8().data() << ")";
|
| + << animSVGLength.toSVGLength()->valueAsString().utf8().data() << ")";
|
| }
|
|
|
| void PrintTo(const AnimatableSVGPaint& animSVGPaint, ::std::ostream* os)
|
| @@ -143,10 +143,11 @@ void PrintTo(const AnimatableShapeValue& animValue, ::std::ostream* os)
|
| void PrintTo(const AnimatableStrokeDasharrayList& animValue, ::std::ostream* os)
|
| {
|
| *os << "AnimatableStrokeDasharrayList(";
|
| - const Vector<SVGLength> v = animValue.toSVGLengthVector();
|
| - for (Vector<SVGLength>::const_iterator it = v.begin(); it != v.end(); ++it) {
|
| - *os << it->valueAsString().utf8().data();
|
| - if (it+1 != v.end())
|
| + RefPtr<SVGLengthList> list = animValue.toSVGLengthList();
|
| + size_t length = list->numberOfItems();
|
| + for (size_t i = 0; i < length; ++i) {
|
| + *os << list->at(i)->valueAsString().utf8().data();
|
| + if (i != length-1)
|
| *os << ", ";
|
| }
|
| *os << ")";
|
|
|