| 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 c64e17d7b42e3c4b98862a0ba97568c9be568ad1..1b1edd120abb38272898f387dd216c1aaf9069d5 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| @@ -305,6 +305,16 @@ void Image::drawPattern(GraphicsContext& context,
|
| PlatformInstrumentation::didDrawLazyPixelRef(imageID);
|
| }
|
|
|
| +void Image::drawInColorSpace(SkCanvas* canvas,
|
| + const SkPaint& paint,
|
| + const FloatRect& dstRect,
|
| + const FloatRect& srcRect,
|
| + RespectImageOrientationEnum orientation,
|
| + ImageClampingMode clamping,
|
| + sk_sp<SkColorSpace>) {
|
| + draw(canvas, paint, dstRect, srcRect, orientation, clamping);
|
| +}
|
| +
|
| PassRefPtr<Image> Image::imageForDefaultFrame() {
|
| RefPtr<Image> image(this);
|
|
|
|
|