| Index: third_party/WebKit/Source/platform/graphics/ImagePattern.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp b/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp
|
| index 7d26d488c44f1f914c7cc9fc6f26678f7793a19d..28b2dbd30ed4dc940af3d3604faf9bd30d950b88 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImagePattern.cpp
|
| @@ -17,12 +17,8 @@ PassRefPtr<ImagePattern> ImagePattern::create(PassRefPtr<Image> image,
|
| return adoptRef(new ImagePattern(std::move(image), repeatMode));
|
| }
|
|
|
| -// TODO(ccameron): ImagePattern should not draw to a globally set color space.
|
| -// https://crbug.com/672306
|
| ImagePattern::ImagePattern(PassRefPtr<Image> image, RepeatMode repeatMode)
|
| - : Pattern(repeatMode),
|
| - m_tileImage(image->imageForCurrentFrame(
|
| - ColorBehavior::transformToGlobalTarget())) {
|
| + : Pattern(repeatMode), m_tileImage(image->imageForCurrentFrame()) {
|
| m_previousLocalMatrix.setIdentity();
|
| if (m_tileImage) {
|
| // TODO(fmalita): mechanism to extract the actual SkImageInfo from an
|
|
|