Index: Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp |
index f70f32eb25d83059b7dc2d9c3f698b87b23f3ec3..1d7a2fb5b029473ab51240726de94e6fc2b0a991 100644 |
--- a/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -359,7 +359,7 @@ void LayoutBoxModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRe |
LayoutRect paintInvalidationRect = r; |
if (GraphicsLayer* squashingLayer = layer()->groupedMapping()->squashingLayer()) { |
// Note: the subpixel accumulation of layer() does not need to be added here. It is already taken into account. |
- squashingLayer->setNeedsDisplayInRect(pixelSnappedIntRect(paintInvalidationRect), invalidationReason); |
+ squashingLayer->setNeedsDisplayInRect(enclosingIntRect(paintInvalidationRect), invalidationReason); |
} |
} else { |
layer()->compositedDeprecatedPaintLayerMapping()->setContentsNeedDisplayInRect(r, invalidationReason); |