Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index bd249cfd0d063abdb1d0b67793e72e4b2190f773..d2a9211c6066bee752f4bdda82bbefd3211a05f7 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1092,7 +1092,8 @@ void GraphicsLayer::setContentsRect(const IntRect& rect) { |
void GraphicsLayer::setContentsToImage( |
Image* image, |
RespectImageOrientationEnum respectImageOrientation) { |
- sk_sp<SkImage> skImage = image ? image->imageForCurrentFrame() : nullptr; |
+ sk_sp<SkImage> skImage = |
+ image ? image->imageForCurrentFrame(m_colorBehavior) : nullptr; |
if (image && skImage && image->isBitmapImage()) { |
if (respectImageOrientation == RespectImageOrientation) { |