Index: src/core/SkPictureRecord.cpp |
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp |
index 07811fb1280513e597669f71c2de7b66ad2370ed..53ecdd0be68c08e332c93cc8598d92b32b76b264 100644 |
--- a/src/core/SkPictureRecord.cpp |
+++ b/src/core/SkPictureRecord.cpp |
@@ -7,7 +7,6 @@ |
#include "SkPictureRecord.h" |
#include "SkDevice.h" |
-#include "SkImage_Base.h" |
#include "SkPatchUtils.h" |
#include "SkPixelRef.h" |
#include "SkRRect.h" |
@@ -564,22 +563,6 @@ |
this->validate(initialOffset, size); |
} |
-void SkPictureRecord::onDrawImage(const SkImage* image, SkScalar x, SkScalar y, |
- const SkPaint* paint) { |
- SkBitmap bm; |
- if (as_IB(image)->getROPixels(&bm)) { |
- this->SkPictureRecord::onDrawBitmap(bm, x, y, paint); |
- } |
-} |
- |
-void SkPictureRecord::onDrawImageRect(const SkImage* image, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint) { |
- SkBitmap bm; |
- if (as_IB(image)->getROPixels(&bm)) { |
- this->SkPictureRecord::onDrawBitmapRect(bm, src, dst, paint, kNone_DrawBitmapRectFlag); |
- } |
-} |
- |
void SkPictureRecord::onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& center, |
const SkRect& dst, const SkPaint* paint) { |
// op + paint index + bitmap id + center + dst rect |