| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index e56e1aa9c9bcc3aed21c9d93303010d903327ed4..502916a7867413b39de757a7d3419c9a731c8843 100755
|
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -2079,7 +2079,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);
|
| @@ -2087,10 +2087,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:
|
|
|