From a85d4d0814818e4ddabb9237da209d61d6cd5854 Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 6 May 2015 12:56:48 -0700 Subject: Make drawImage a virtual on SkDevice This reverts commit 06dad4b92f1fcb593bc686f9537d3e0d866b2241. BUG=485243 Review URL: https://codereview.chromium.org/1129843003 --- include/core/SkImage.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include/core/SkImage.h') 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 -- cgit v1.2.3