Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index c7a826f463adc3d7ca9e8497ac3873b6522d103f..d90b2c025ac0635f526cd0543c7118441c093b9b 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -238,6 +238,10 @@ |
void SkRecorder::onDrawImageNine(const SkImage* image, const SkIRect& center, |
const SkRect& dst, const SkPaint* paint) { |
APPEND(DrawImageNine, this->copy(paint), image, center, dst); |
+} |
+ |
+void SkRecorder::onDrawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint) { |
+ APPEND(DrawSprite, this->copy(paint), bitmap, left, top); |
} |
void SkRecorder::onDrawText(const void* text, size_t byteLength, |