| Index: third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| index 7484888577ba25d5bb7a94e8fdab6a5d4b1d1100..74252a07da46d93524e612fcaf455fd2677b1ddf 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
|
| @@ -243,9 +243,11 @@ std::unique_ptr<Shape> Shape::createRasterShape(Image* image,
|
| SkPaint paint;
|
| IntRect imageSourceRect(IntPoint(), image->size());
|
| IntRect imageDestRect(IntPoint(), imageRect.size());
|
| + // TODO(ccameron): No color conversion is required here.
|
| image->draw(imageBuffer->canvas(), paint, imageDestRect, imageSourceRect,
|
| DoNotRespectImageOrientation,
|
| - Image::DoNotClampImageToSourceRect);
|
| + Image::DoNotClampImageToSourceRect,
|
| + ColorBehavior::transformToGlobalTarget());
|
|
|
| WTF::ArrayBufferContents contents;
|
| imageBuffer->getImageData(Unmultiplied,
|
|
|