Index: Source/core/paint/NinePieceImagePainter.cpp |
diff --git a/Source/core/paint/NinePieceImagePainter.cpp b/Source/core/paint/NinePieceImagePainter.cpp |
index 26f394f9c00775d65cad44c39f58a7599c2706f8..88350298432726a278ea7653babe5d8f7cb3195a 100644 |
--- a/Source/core/paint/NinePieceImagePainter.cpp |
+++ b/Source/core/paint/NinePieceImagePainter.cpp |
@@ -44,9 +44,6 @@ bool NinePieceImagePainter::paint(GraphicsContext* graphicsContext, const Layout |
IntSize imageSize = m_layoutObject.calculateImageIntrinsicDimensions(styleImage, borderImageRect.size(), |
LayoutBoxModelObject::DoNotScaleByEffectiveZoom); |
- // If both values are 'auto' then the intrinsic width and/or height of the image should be used, if any. |
- styleImage->setContainerSizeForLayoutObject(&m_layoutObject, imageSize, style.effectiveZoom()); |
- |
IntRectOutsets borderWidths(style.borderTopWidth(), style.borderRightWidth(), |
style.borderBottomWidth(), style.borderLeftWidth()); |
NinePieceImageGrid grid(ninePieceImage, imageSize, borderImageRect, borderWidths); |