Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index a5dd814b82a2b14d1b35ce737ce9ab5d842cc338..e8497daca1c975bb3da748e950a9915047cc21bd 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -175,6 +175,12 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
canvas->concat(matrix); |
break; |
} |
+ case DRAW_ANNOTATION: { |
+ const SkRect& rect = reader->skipT<SkRect>(); |
+ const char* key = reader->readString(); |
+ SkAutoTUnref<SkData> value(reader->readData()); |
+ canvas->drawAnnotation(rect, key, value); |
+ } break; |
case DRAW_ATLAS: { |
const SkPaint* paint = fPictureData->getPaint(reader); |
const SkImage* atlas = fPictureData->getImage(reader); |