Index: Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
index 121738ead89eec5199b349cf80fa92a4ef012c56..fc0061af93e123c9cb98f886ca55802abe1bc49b 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.cpp |
@@ -110,10 +110,9 @@ PatternData* RenderSVGResourcePattern::buildPattern(RenderObject* object, const |
return m_patternMap.set(object, patternData.release()).storedValue->value.get(); |
} |
-SVGPaintServer RenderSVGResourcePattern::preparePaintServer(RenderObject* object, RenderStyle* style, RenderSVGResourceModeFlags resourceMode) |
+SVGPaintServer RenderSVGResourcePattern::preparePaintServer(RenderObject* object) |
{ |
ASSERT(object); |
- ASSERT(style); |
clearInvalidationMask(); |
@@ -139,10 +138,7 @@ SVGPaintServer RenderSVGResourcePattern::preparePaintServer(RenderObject* object |
if (!patternData) |
return SVGPaintServer::invalid(); |
- const SVGRenderStyle& svgStyle = style->svgStyle(); |
- |
- AffineTransform computedPatternSpaceTransform = computeResourceSpaceTransform(object, patternData->transform, svgStyle, resourceMode); |
- patternData->pattern->setPatternSpaceTransform(computedPatternSpaceTransform); |
+ patternData->pattern->setPatternSpaceTransform(patternData->transform); |
return SVGPaintServer(patternData->pattern); |
} |