Index: Source/core/paint/SVGMaskPainter.cpp |
diff --git a/Source/core/paint/SVGMaskPainter.cpp b/Source/core/paint/SVGMaskPainter.cpp |
index 9aea7695f6b9e27dad2a32009fab970e3ba9a482..58eb8b6af724c4618d644b521bc5dd4c6a478ec7 100644 |
--- a/Source/core/paint/SVGMaskPainter.cpp |
+++ b/Source/core/paint/SVGMaskPainter.cpp |
@@ -79,7 +79,7 @@ void SVGMaskPainter::drawMaskForLayoutObject(GraphicsContext* context, const Lay |
if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, layoutObject, DisplayItem::SVGMask)) |
return; |
- LayoutObjectDrawingRecorder drawingRecorder(*context, layoutObject, DisplayItem::SVGMask, targetPaintInvalidationRect); |
+ LayoutObjectDrawingRecorder drawingRecorder(*context, layoutObject, DisplayItem::SVGMask, LayoutRect(enclosingIntRect(targetPaintInvalidationRect))); |
context->save(); |
context->concatCTM(contentTransformation); |
context->drawPicture(maskContentPicture.get()); |