diff options
author | 2015-05-06 12:56:48 -0700 | |
---|---|---|
committer | 2015-05-06 12:56:48 -0700 | |
commit | a85d4d0814818e4ddabb9237da209d61d6cd5854 (patch) | |
tree | a9da064f603bfec832f2150baa566381ddf5e35c /include/core/SkImage.h | |
parent | 44d43d8d6e4f9321c9001f269ff433bd06aa81e1 (diff) |
Make drawImage a virtual on SkDevice
This reverts commit 06dad4b92f1fcb593bc686f9537d3e0d866b2241.
BUG=485243
Review URL: https://codereview.chromium.org/1129843003
Diffstat (limited to 'include/core/SkImage.h')
-rw-r--r-- | include/core/SkImage.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkImage.h b/include/core/SkImage.h index ec85516619..ebc9a29394 100644 --- a/include/core/SkImage.h +++ b/include/core/SkImage.h @@ -172,19 +172,6 @@ private: static uint32_t NextUniqueID(); typedef SkRefCnt INHERITED; - - friend class SkCanvas; - - void draw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) const; - - /** - * Draw the image, cropped to the src rect, to the dst rect of a canvas. - * If src is larger than the bounds of the image, the rest of the image is - * filled with transparent black pixels. - * - * See SkCanvas::drawBitmapRectToRect for similar behavior. - */ - void drawRect(SkCanvas*, const SkRect* src, const SkRect& dst, const SkPaint*) const; }; #endif |