Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
index c66dac08edcc4e31027ec51fc7a9f4c7f5150e6b..172d22ae06ce77eada4f4fe52677f2594f78548b 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
@@ -615,7 +615,8 @@ |
// like overflow clip. |
LayoutRect clipRect; |
if (box.shouldClipOverflow()) { |
- clipRect = LayoutRect(box.overflowClipRect(context.current.paintOffset)); |
+ clipRect = LayoutRect(pixelSnappedIntRect( |
+ box.overflowClipRect(context.current.paintOffset))); |
} else { |
if (auto* properties = object.getMutableForPainting().paintProperties()) { |
context.forceSubtreeUpdate |= properties->clearInnerBorderRadiusClip(); |