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 61846e63e5f64e613cad35675cf0860a4d9f4ac8..29def2dce8a195ed6614a8921e7d8f3e10f8db26 100644 |
--- a/third_party/WebKit/Source/core/paint/ImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ImagePainter.cpp |
@@ -139,7 +139,7 @@ void ImagePainter::paintIntoRect(GraphicsContext* context, const LayoutRect& rec |
InterpolationQuality previousInterpolationQuality = context->imageInterpolationQuality(); |
context->setImageInterpolationQuality(interpolationQuality); |
- context->drawImage(image.get(), alignedRect, SkXfermode::kSrcOver_Mode, m_layoutImage.shouldRespectImageOrientation()); |
+ context->drawImage(image.get(), alignedRect, SkXfermode::kSrcOver_Mode, LayoutObject::shouldRespectImageOrientation(&m_layoutImage)); |
context->setImageInterpolationQuality(previousInterpolationQuality); |
} |