Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index b994071cbb4b0ad9d021aaf41524a0b7f2890c03..9b27a3d1e91067b2368a1b664dc0430c1799a183 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -368,11 +368,11 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
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(); |
- canvas->drawSprite(bitmap, left, top, paint); |
+ /* 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 |
f(malita)
2015/12/16 15:34:17
Could we emulate drawSprite using setMatrix + draw
|
} break; |
case DRAW_TEXT: { |
const SkPaint& paint = *fPictureData->getPaint(reader); |