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 e800cb7891314ab36473b35c20938f7c1e44d89b..8fbbbcade8507a67a2784665b489e5ebeb50e85a 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp |
@@ -519,7 +519,7 @@ void writeSVGResourceContainer(TextStream& ts, const LayoutObject& object, int i |
writeNameValuePair(ts, "markerUnits", marker->markerUnits()); |
ts << " [ref at " << marker->referencePoint() << "]"; |
ts << " [angle="; |
- if (marker->angle() == -1) |
+ if (marker->orientType() != SVGMarkerOrientAngle) |
ts << marker->orientType() << "]\n"; |
else |
ts << marker->angle() << "]\n"; |