Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index 0966adfb7e491c2c4ac2cee9f912c4251f694bc4..bcc3e8cc47ee04b50e2a65aad5d921ae7e1df072 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -186,6 +186,12 @@ static TextStream& operator<<(TextStream& ts, const SVGMarkerUnitsType& markerUn |
return ts; |
} |
+static TextStream& operator<<(TextStream& ts, const SVGMarkerOrientType& orientType) |
+{ |
+ ts << SVGEnumerationToString<SVGMarkerOrientType>(orientType); |
+ return ts; |
+} |
+ |
TextStream& operator<<(TextStream& ts, const Color& c) |
{ |
return ts << c.nameForRenderTreeAsText(); |
@@ -526,7 +532,7 @@ void writeSVGResourceContainer(TextStream& ts, const RenderObject& object, int i |
ts << " [ref at " << marker->referencePoint() << "]"; |
ts << " [angle="; |
if (marker->angle() == -1) |
- ts << "auto" << "]\n"; |
+ ts << marker->orientType() << "]\n"; |
else |
ts << marker->angle() << "]\n"; |
} else if (resource->resourceType() == PatternResourceType) { |