| 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 61cbeca26be163a159b0e1c5d1fa5091052d0ff8..aa1385dd21ba1504e668d90b661b4d26b71bec8f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp
|
| @@ -1068,7 +1068,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) {
|
|
|