| Index: third_party/WebKit/Source/core/paint/ImagePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ImagePainter.cpp b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
|
| index 8a94b3c108c128b85f556f2745cfddacba8a92be..fc4d51ccd741ed6ecbd0e79be62a26e6af003262 100644
|
| --- a/third_party/WebKit/Source/core/paint/ImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ImagePainter.cpp
|
| @@ -128,7 +128,7 @@ void ImagePainter::paintIntoRect(GraphicsContext* context, const LayoutRect& rec
|
| if (alignedRect.width() <= 0 || alignedRect.height() <= 0)
|
| return;
|
|
|
| - RefPtr<Image> image = m_layoutImage.imageResource()->image(alignedRect.width(), alignedRect.height());
|
| + RefPtr<Image> image = m_layoutImage.imageResource()->image(alignedRect.size());
|
| if (!image || image->isNull())
|
| return;
|
|
|
|
|