| Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| index 7753fa845fc2a83508c658d701a23e1b599fadec..916949f0f3e790c757e6f0aa11eba3867bb1f3ab 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| @@ -8,6 +8,7 @@
|
| #include "gpu/command_buffer/common/mailbox.h"
|
| #include "gpu/command_buffer/common/sync_token.h"
|
| #include "platform/graphics/Image.h"
|
| +#include "skia/ext/cdl_common.h"
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
|
|
| @@ -24,8 +25,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
|
| bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) = 0;
|
| sk_sp<SkImage> imageForCurrentFrame() = 0;
|
| bool isTextureBacked() = 0;
|
| - void draw(SkCanvas*,
|
| - const SkPaint&,
|
| + void draw(CdlCanvas*,
|
| + const CdlPaint&,
|
| const FloatRect& dstRect,
|
| const FloatRect& srcRect,
|
| RespectImageOrientationEnum,
|
| @@ -66,8 +67,8 @@ class PLATFORM_EXPORT StaticBitmapImage : public Image {
|
|
|
| protected:
|
| // Helper for sub-classes
|
| - void drawHelper(SkCanvas*,
|
| - const SkPaint&,
|
| + void drawHelper(CdlCanvas*,
|
| + const CdlPaint&,
|
| const FloatRect&,
|
| const FloatRect&,
|
| ImageClampingMode,
|
|
|