Index: third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp |
index afd882d68dbbdf202c41b862f7eadeed0d6d660e..2ffe6a12cd2144d04e9f5e3435a065f92b686bdc 100644 |
--- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp |
@@ -74,8 +74,8 @@ bool NinePieceImagePainter::paint(GraphicsContext* graphicsContext, const Layout |
if (drawInfo.isCornerPiece) { |
graphicsContext->drawImage(image.get(), drawInfo.destination, drawInfo.source, op); |
} else { |
- graphicsContext->drawTiledImage(image.get(), enclosingIntRect(drawInfo.destination), |
- enclosingIntRect(drawInfo.source), drawInfo.tileScale, drawInfo.tileRule.horizontal, |
+ graphicsContext->drawTiledImage(image.get(), drawInfo.destination, |
+ drawInfo.source, drawInfo.tileScale, drawInfo.tileRule.horizontal, |
drawInfo.tileRule.vertical, op); |
} |
} |