| 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 ab08006e2a910f0bbf9e96ccb187607d45268354..cec9d15cd11448079ad1834c04c351069bd7a988 100644
|
| --- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| @@ -87,7 +87,9 @@ bool NinePieceImagePainter::Paint(GraphicsContext& graphics_context,
|
| // scale of them again.
|
| IntSize image_size = RoundedIntSize(style_image->ImageSize(
|
| layout_object.GetDocument(), 1, border_image_rect.Size()));
|
| - RefPtr<Image> image = style_image->GetImage(layout_object, image_size);
|
| + RefPtr<Image> image =
|
| + style_image->GetImage(layout_object, layout_object.GetDocument(),
|
| + layout_object.StyleRef(), image_size);
|
|
|
| InterpolationQuality interpolation_quality =
|
| BoxPainter::ChooseInterpolationQuality(layout_object, image.Get(), 0,
|
|
|