| 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 34a98d88c8dfa9b1c9134cce5e699f5c027afe19..364fe581de6f108af18309d79b3f03e93ac41b1a 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,
|
|
|