Index: third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
index 22631de76f6e7a3672717742aa4e99a7e73c3a15..515620a98d24c195fa9a7870b9006d3239f92dec 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGPathElement.cpp |
@@ -20,7 +20,7 @@ |
#include "core/svg/SVGPathElement.h" |
-#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/dom/StyleChangeReason.h" |
#include "core/layout/svg/LayoutSVGPath.h" |
#include "core/svg/SVGMPathElement.h" |
@@ -178,7 +178,7 @@ void SVGPathElement::collectStyleForPresentationAttribute(const QualifiedName& n |
CSSPathValue* pathValue = path->currentValue()->pathValue(); |
if (pathValue->stylePath()->byteStream().isEmpty()) { |
- addPropertyToPresentationAttributeStyle(style, CSSPropertyD, CSSPrimitiveValue::createIdentifier(CSSValueNone)); |
+ addPropertyToPresentationAttributeStyle(style, CSSPropertyD, CSSIdentifierValue::create(CSSValueNone)); |
return; |
} |
addPropertyToPresentationAttributeStyle(style, CSSPropertyD, pathValue); |