Index: src/utils/SkNWayCanvas.cpp |
diff --git a/src/utils/SkNWayCanvas.cpp b/src/utils/SkNWayCanvas.cpp |
index 05909a33fa9aa52cd557b174d7289501b10de8df..fb8d0ee13eb7fad025889140e13ecb2a1c625526 100644 |
--- a/src/utils/SkNWayCanvas.cpp |
+++ b/src/utils/SkNWayCanvas.cpp |
@@ -224,6 +224,13 @@ |
} |
} |
+void SkNWayCanvas::onDrawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint* paint) { |
+ Iter iter(fList); |
+ while (iter.next()) { |
+ iter->drawSprite(bitmap, x, y, paint); |
+ } |
+} |
+ |
void SkNWayCanvas::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, |
const SkPaint& paint) { |
Iter iter(fList); |