Index: Source/core/rendering/svg/RenderSVGShape.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp |
index 7b7448fc44437405ee2d17001f4a6475c5a4efbb..9084bbedd45ea5f391be682e4d9fd39897323805 100644 |
--- a/Source/core/rendering/svg/RenderSVGShape.cpp |
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp |
@@ -452,7 +452,12 @@ void RenderSVGShape::processMarkerPositions() |
ASSERT(m_path); |
- SVGMarkerData markerData(m_markerPositions); |
+ SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this); |
+ ASSERT(resources); |
+ |
+ RenderSVGResourceMarker* markerStart = resources->markerStart(); |
+ |
+ SVGMarkerData markerData(m_markerPositions, markerStart ? markerStart->orientType() == SVGMarkerOrientAutoStartReverse : false); |
m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); |
markerData.pathIsDone(); |
} |