Chromium Code Reviews| Index: src/image/SkImage_Base.h |
| diff --git a/src/image/SkImage_Base.h b/src/image/SkImage_Base.h |
| index 9ae13de4aed7c0a3ef20fb9c6f648ec2fd04ceb2..87d2c27d70bf99d807819205efafab99ea997ffe 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 onDrawRectToRect(SkCanvas*, const SkRect* src, const SkRect& dst, const SkPaint*) = 0; |
|
reed1
2013/07/19 20:28:52
nit: exceed 80/100 cols. This file started at 80,
|
| virtual GrTexture* onGetTexture() { return NULL; } |
| // return a read-only copy of the pixels. We promise to not modify them, |