| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index b8db6fa9fef7906ec184383c2035f3bceb65c12a..411ba05315c85980ec55c7f35c67f0e4f985cb95 100755
|
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -2092,7 +2092,7 @@ void StyleBuilder::oldApplyProperty(CSSPropertyID id, StyleResolverState& state,
|
|
|
| CSSValueList* dashes = toCSSValueList(value);
|
|
|
| - Vector<SVGLength> array;
|
| + RefPtr<SVGLengthList> array = SVGLengthList::create();
|
| size_t length = dashes->length();
|
| for (size_t i = 0; i < length; ++i) {
|
| CSSValue* currValue = dashes->itemWithoutBoundsCheck(i);
|
| @@ -2100,10 +2100,10 @@ void StyleBuilder::oldApplyProperty(CSSPropertyID id, StyleResolverState& state,
|
| continue;
|
|
|
| CSSPrimitiveValue* dash = toCSSPrimitiveValue(dashes->itemWithoutBoundsCheck(i));
|
| - array.append(SVGLength::fromCSSPrimitiveValue(dash));
|
| + array->append(SVGLength::fromCSSPrimitiveValue(dash));
|
| }
|
|
|
| - state.style()->accessSVGStyle()->setStrokeDashArray(array);
|
| + state.style()->accessSVGStyle()->setStrokeDashArray(array.release());
|
| break;
|
| }
|
| case CSSPropertyStopColor:
|
|
|