Index: Source/core/paint/BoxPainter.cpp |
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp |
index 58a6c3ad11b0f1a1c3049e3bb2a4d779e63eda84..f276e2fd8a39590baa6bd3ea3c64ef96f42ec488 100644 |
--- a/Source/core/paint/BoxPainter.cpp |
+++ b/Source/core/paint/BoxPainter.cpp |
@@ -61,6 +61,7 @@ LayoutRect BoxPainter::boundsForDrawingRecorder(const LayoutPoint& paintOffset) |
// Use the visual overflow rect here, because it will include overflow introduced by the theme. |
bounds = m_renderBox.visualOverflowRect(); |
bounds.moveBy(paintOffset); |
+ bounds = pixelSnappedIntRect(bounds); |
} |
} |
return bounds; |