| Index: third_party/WebKit/Source/platform/graphics/Image.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| index 01d4a4a2b92d6f0870df60beec258f59cd89e6af..93ca41dc4074416e232eb394ee5e90c870597468 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| @@ -264,8 +264,7 @@ void Image::drawPattern(GraphicsContext& context,
|
| const FloatSize& repeatSpacing) {
|
| TRACE_EVENT0("skia", "Image::drawPattern");
|
|
|
| - sk_sp<SkImage> image =
|
| - imageForCurrentFrame(ColorBehavior::transformToGlobalTarget());
|
| + sk_sp<SkImage> image = imageForCurrentFrame();
|
| if (!image)
|
| return;
|
|
|
| @@ -336,8 +335,7 @@ PassRefPtr<Image> Image::imageForDefaultFrame() {
|
| bool Image::applyShader(PaintFlags& flags, const SkMatrix& localMatrix) {
|
| // Default shader impl: attempt to build a shader based on the current frame
|
| // SkImage.
|
| - sk_sp<SkImage> image =
|
| - imageForCurrentFrame(ColorBehavior::transformToGlobalTarget());
|
| + sk_sp<SkImage> image = imageForCurrentFrame();
|
| if (!image)
|
| return false;
|
|
|
|
|