Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 9b27a3d1e91067b2368a1b664dc0430c1799a183..b994071cbb4b0ad9d021aaf41524a0b7f2890c03 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -368,11 +368,11 @@ |
canvas->drawRRect(rrect, paint); |
} break; |
case DRAW_SPRITE: { |
- /* const SkPaint* paint = */ fPictureData->getPaint(reader); |
- /* const SkBitmap bitmap = */ shallow_copy(fPictureData->getBitmap(reader)); |
- /* int left = */ reader->readInt(); |
- /* int top = */ reader->readInt(); |
- // drawSprite removed dec-2015 |
+ const SkPaint* paint = fPictureData->getPaint(reader); |
+ const SkBitmap bitmap = shallow_copy(fPictureData->getBitmap(reader)); |
+ int left = reader->readInt(); |
+ int top = reader->readInt(); |
+ canvas->drawSprite(bitmap, left, top, paint); |
} break; |
case DRAW_TEXT: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |