Index: src/core/SkPictureRecord.cpp |
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp |
index 2b56b74dad844a6daa1ef647b1ece40bdd0f2705..f9ab0c93c16db6d7356b348b35123a165ad12d50 100644 |
--- a/src/core/SkPictureRecord.cpp |
+++ b/src/core/SkPictureRecord.cpp |
@@ -626,19 +626,6 @@ void SkPictureRecord::onDrawBitmapNine(const SkBitmap& bitmap, const SkIRect& ce |
this->validate(initialOffset, size); |
} |
-void SkPictureRecord::onDrawSprite(const SkBitmap& bitmap, int left, int top, |
- const SkPaint* paint) { |
- // op + paint index + bitmap index + left + top |
- size_t size = 5 * kUInt32Size; |
- size_t initialOffset = this->addDraw(DRAW_SPRITE, &size); |
- SkASSERT(initialOffset+get_paint_offset(DRAW_SPRITE, size) == fWriter.bytesWritten()); |
- this->addPaintPtr(paint); |
- this->addBitmap(bitmap); |
- this->addInt(left); |
- this->addInt(top); |
- this->validate(initialOffset, size); |
-} |
- |
void SkPictureRecord::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
// op + paint index + length + 'length' worth of chars + x + y |