Index: Source/core/svg/SVGTextContentElement.cpp |
diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp |
index f367ffd64630f223412b43f9a3341fdb27e20da3..61d2aa3583e4bafeb1a574053fb6063a7892055e 100644 |
--- a/Source/core/svg/SVGTextContentElement.cpp |
+++ b/Source/core/svg/SVGTextContentElement.cpp |
@@ -59,7 +59,7 @@ public: |
{ |
SVGTextContentElement* textContentElement = toSVGTextContentElement(contextElement()); |
if (!textContentElement->textLengthIsSpecifiedByUser()) |
- baseValue()->newValueSpecifiedUnits(LengthTypeNumber, textContentElement->getComputedTextLength()); |
+ baseValue()->newValueSpecifiedUnits(CSSPrimitiveValue::CSS_NUMBER, textContentElement->getComputedTextLength()); |
return SVGAnimatedLength::baseVal(); |
} |