Index: src/core/SkPictureRecorder.cpp |
diff --git a/src/core/SkPictureRecorder.cpp b/src/core/SkPictureRecorder.cpp |
index edee07b0e358b18c9f24261a14b7b22bf1b5bb26..3262938ed1b62817fda591dfe360ee89269e7ea6 100644 |
--- a/src/core/SkPictureRecorder.cpp |
+++ b/src/core/SkPictureRecorder.cpp |
@@ -61,7 +61,7 @@ SkPicture* SkPictureRecorder::endRecording() { |
// TODO: we should remember these from our caller |
SkBBHFactory* factory = NULL; |
uint32_t recordFlags = 0; |
- SkAutoTUnref<SkPicture::SnapshotArray> drawablePicts( |
+ SkAutoTDelete<SkPicture::SnapshotArray> drawablePicts( |
fRecorder->newDrawableSnapshot(factory, recordFlags)); |
SkPicture* pict = SkNEW_ARGS(SkPicture, (fCullRect, fRecord.detach(), |
drawablePicts.detach(), fBBH.get())); |