| Index: src/image/SkImage_Base.h
|
| diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h
|
| index 9ae13de4aed7c0a3ef20fb9c6f648ec2fd04ceb2..fd31c3524a06b211649db641850f8000128d9902 100644
|
| --- a/src/image/SkImage_Base.h
|
| +++ b/src/image/SkImage_Base.h
|
| @@ -15,6 +15,7 @@ public:
|
| SkImage_Base(int width, int height) : INHERITED(width, height) {}
|
|
|
| virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) = 0;
|
| + virtual void onDraw(SkCanvas*, SkRect src, SkRect dst, const SkPaint*) = 0;
|
| virtual GrTexture* onGetTexture() { return NULL; }
|
|
|
| // return a read-only copy of the pixels. We promise to not modify them,
|
|
|