| Index: Source/core/rendering/svg/RenderSVGShape.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp
|
| index 559a9511a0037baf82046976eed77ac2f3e7a920..fbd4ad0d282f70212ce9323a4e408da962b28b64 100644
|
| --- a/Source/core/rendering/svg/RenderSVGShape.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGShape.cpp
|
| @@ -361,7 +361,7 @@ FloatRect RenderSVGShape::markerRect(float strokeWidth) const
|
| unsigned size = m_markerPositions.size();
|
| for (unsigned i = 0; i < size; ++i) {
|
| if (RenderSVGResourceMarker* marker = markerForType(m_markerPositions[i].type, markerStart, markerMid, markerEnd))
|
| - boundaries.unite(marker->markerBoundaries(marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth)));
|
| + boundaries.unite(marker->markerBoundaries(marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth, m_markerPositions[i].type == StartMarker)));
|
| }
|
| return boundaries;
|
| }
|
| @@ -439,7 +439,7 @@ void RenderSVGShape::drawMarkers(PaintInfo& paintInfo)
|
| unsigned size = m_markerPositions.size();
|
| for (unsigned i = 0; i < size; ++i) {
|
| if (RenderSVGResourceMarker* marker = markerForType(m_markerPositions[i].type, markerStart, markerMid, markerEnd))
|
| - marker->draw(paintInfo, marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth));
|
| + marker->draw(paintInfo, marker->markerTransformation(m_markerPositions[i].origin, m_markerPositions[i].angle, strokeWidth, m_markerPositions[i].type == StartMarker));
|
| }
|
| }
|
|
|
|
|