| 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 9eed86d02b541b99be1b3cdd22ad4ae6e603c2e2..bd25169d32ef3a923c286bba96677e9aebc48075 100644
|
| --- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| @@ -49,8 +49,7 @@ bool NinePieceImagePainter::paint(GraphicsContext& graphicsContext, const Layout
|
| rectWithOutsets.expand(style.imageOutsets(ninePieceImage));
|
| LayoutRect borderImageRect = rectWithOutsets;
|
|
|
| - IntSize imageSize = roundedIntSize(m_layoutObject.calculateImageIntrinsicDimensions(styleImage, borderImageRect.size(),
|
| - LayoutBoxModelObject::DoNotScaleByEffectiveZoom));
|
| + IntSize imageSize = roundedIntSize(styleImage->imageSize(&m_layoutObject, 1, borderImageRect.size()));
|
|
|
| IntRectOutsets borderWidths(style.borderTopWidth(), style.borderRightWidth(),
|
| style.borderBottomWidth(), style.borderLeftWidth());
|
|
|