Index: Source/core/paint/BoxPainter.cpp |
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp |
index 906b7cc9e06e6e209cff58a69926ba7e288df71c..b5aad6eccd7fdabe975e0a3d83bbaf3479923cf8 100644 |
--- a/Source/core/paint/BoxPainter.cpp |
+++ b/Source/core/paint/BoxPainter.cpp |
@@ -839,7 +839,7 @@ IntSize BoxPainter::calculateFillTileSize(const RenderBoxModelObject& obj, const |
tileSize = imageIntrinsicSize; |
} |
- tileSize.clampNegativeToZero(); |
+ tileSize.clampToMinimumSize(IntSize(1, 1)); |
return flooredIntSize(tileSize); |
} |
case SizeNone: { |