Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index e8497daca1c975bb3da748e950a9915047cc21bd..ae3c3f20afadddd13dd46c4e038ba6071e80d393 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -178,8 +178,7 @@ void SkPicturePlayback::handleOp(SkReader32* reader, |
case DRAW_ANNOTATION: { |
const SkRect& rect = reader->skipT<SkRect>(); |
const char* key = reader->readString(); |
- SkAutoTUnref<SkData> value(reader->readData()); |
- canvas->drawAnnotation(rect, key, value); |
+ canvas->drawAnnotation(rect, key, reader->readData().get()); |
} break; |
case DRAW_ATLAS: { |
const SkPaint* paint = fPictureData->getPaint(reader); |