| Index: third_party/WebKit/Source/platform/graphics/Image.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.h b/third_party/WebKit/Source/platform/graphics/Image.h
|
| index dfbfe4ee08731923fe82023230cf74bfcdacf8f3..619b929bfd6ed5ad16564d11856ad918e2527314 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.h
|
| @@ -35,6 +35,7 @@
|
| #include "platform/graphics/ImageAnimationPolicy.h"
|
| #include "platform/graphics/ImageObserver.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| +#include "skia/ext/cdl_common.h"
|
| #include "third_party/skia/include/core/SkRefCnt.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -43,10 +44,8 @@
|
| #include "wtf/ThreadSafeRefCounted.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| -class SkCanvas;
|
| class SkImage;
|
| class SkMatrix;
|
| -class SkPaint;
|
|
|
| namespace blink {
|
|
|
| @@ -168,14 +167,14 @@ class PLATFORM_EXPORT Image : public ThreadSafeRefCounted<Image> {
|
| DoNotClampImageToSourceRect
|
| };
|
|
|
| - virtual void draw(SkCanvas*,
|
| - const SkPaint&,
|
| + virtual void draw(CdlCanvas*,
|
| + const CdlPaint&,
|
| const FloatRect& dstRect,
|
| const FloatRect& srcRect,
|
| RespectImageOrientationEnum,
|
| ImageClampingMode) = 0;
|
|
|
| - virtual bool applyShader(SkPaint&, const SkMatrix& localMatrix);
|
| + virtual bool applyShader(CdlPaint&, const SkMatrix& localMatrix);
|
|
|
| // Compute the tile which contains a given point (assuming a repeating tile
|
| // grid). The point and returned value are in destination grid space.
|
|
|