Index: Source/core/layout/LayoutBox.cpp |
diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp |
index 13419634096f6f2a939c1ccdafc3f50bc0ef9918..f6167280d63a63227f419ed39b808055b0e45bea 100644 |
--- a/Source/core/layout/LayoutBox.cpp |
+++ b/Source/core/layout/LayoutBox.cpp |
@@ -1170,7 +1170,7 @@ void LayoutBox::paintBoxDecorationBackground(const PaintInfo& paintInfo, const L |
bool LayoutBox::getBackgroundPaintedExtent(LayoutRect& paintedExtent) |
{ |
ASSERT(hasBackground()); |
- LayoutRect backgroundRect = pixelSnappedIntRect(borderBoxRect()); |
+ LayoutRect backgroundRect = enclosingIntRect(borderBoxRect()); |
Color backgroundColor = resolveColor(CSSPropertyBackgroundColor); |
if (backgroundColor.alpha()) { |