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 c318662ea35504c54352da3886dd60e82ad5af88..56cbe4d31fe7a5a6aa81c3be459b8bbd94fbdeab 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -56,7 +56,6 @@ |
#include "core/svg/SVGLineElement.h" |
#include "core/svg/SVGLinearGradientElement.h" |
#include "core/svg/SVGPathElement.h" |
-#include "core/svg/SVGPathUtilities.h" |
#include "core/svg/SVGPatternElement.h" |
#include "core/svg/SVGPointList.h" |
#include "core/svg/SVGPolyElement.h" |
@@ -366,8 +365,7 @@ 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 = buildStringFromByteStream(toSVGPathElement(*svgElement).pathByteStream(), UnalteredParsing); |
- writeNameAndQuotedValue(ts, "data", pathString); |
+ writeNameAndQuotedValue(ts, "data", toSVGPathElement(*svgElement).path()->currentValue()->valueAsString()); |
} else { |
ASSERT_NOT_REACHED(); |
} |