Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
index a025085093bf16989fa9e47c17d637cf59867c8e..451740a0ae0f6b2afad48f296344006060d248a1 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -366,9 +366,8 @@ static TextStream& operator<<(TextStream& ts, const LayoutSVGShape& shape) |
} else if (isSVGPolyElement(*svgElement)) { |
writeNameAndQuotedValue(ts, "points", toSVGPolyElement(*svgElement).points()->currentValue()->valueAsString()); |
} else if (isSVGPathElement(*svgElement)) { |
- String pathString; |
// FIXME: We should switch to UnalteredParsing here - this will affect the path dumping output of dozens of tests. |
- buildStringFromByteStream(toSVGPathElement(*svgElement).pathByteStream(), pathString, NormalizedParsing); |
+ String pathString = buildStringFromByteStream(toSVGPathElement(*svgElement).pathByteStream(), NormalizedParsing); |
writeNameAndQuotedValue(ts, "data", pathString); |
} else { |
ASSERT_NOT_REACHED(); |