Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 1c9b13e4450bf959cc8efd1545b002c693c330f3..94d5190c5e6cadc032f33e7080b689ece30a55cb 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -192,8 +192,9 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
canvas->clear(reader->readInt()); |
break; |
case DRAW_DATA: { |
+ // This opcode is now dead, just need to skip it for backwards compatibility |
size_t length = reader->readInt(); |
- canvas->drawData(reader->skip(length), length); |
+ (void)reader->skip(length); |
// skip handles padding the read out to a multiple of 4 |
} break; |
case DRAW_DRRECT: { |