Index: src/core/SkRecorder.cpp |
diff --git a/src/core/SkRecorder.cpp b/src/core/SkRecorder.cpp |
index f9fd8bb3748e8ebfb5758f21c0a1a133a934f88d..4e23da20cc8bfadde49ceae75cdbc83ae342ccba 100644 |
--- a/src/core/SkRecorder.cpp |
+++ b/src/core/SkRecorder.cpp |
@@ -27,7 +27,7 @@ SkBigPicture::SnapshotArray* SkDrawableList::newDrawableSnapshot() { |
for (int i = 0; i < count; ++i) { |
pics[i] = fArray[i]->newPictureSnapshot(); |
} |
- return new SkBigPicture::SnapshotArray(pics.detach(), count); |
+ return new SkBigPicture::SnapshotArray(pics.release(), count); |
} |
void SkDrawableList::append(SkDrawable* drawable) { |