Chromium Code Reviews| Index: Source/core/paint/SVGShapePainter.cpp |
| diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
| index 1af910d6fa589a437edb2b863050e6790045fe90..d9e68b59558bf10a79d1a612c6bddf1ff85c69b3 100644 |
| --- a/Source/core/paint/SVGShapePainter.cpp |
| +++ b/Source/core/paint/SVGShapePainter.cpp |
| @@ -60,7 +60,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
| { |
| SVGPaintContext paintContext(m_layoutSVGShape, paintInfoBeforeFiltering); |
| if (paintContext.applyClipMaskAndFilterIfNecessary() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase)) { |
| - LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase, boundingBox); |
| + LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase, LayoutRect(enclosingIntRect(boundingBox))); |
|
jbroman
2015/08/26 21:45:08
ditto
chrishtr
2015/08/26 22:32:21
Done.
|
| const SVGComputedStyle& svgStyle = m_layoutSVGShape.style()->svgStyle(); |
| bool shouldAntiAlias = svgStyle.shapeRendering() != SR_CRISPEDGES; |