Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 63f2d7e8f93b943d4ed8fc4d5d6b9304a4ba0117..d57e30eeb14cdb0b3b97ae390d83e657e05fc751 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -58,8 +58,7 @@ SkPicturePlayback::SkPicturePlayback(const SkPicture* picture, const SkPictInfo& |
SkPicturePlayback::SkPicturePlayback(const SkPicture* picture, |
const SkPictureRecord& record, |
- const SkPictInfo& info, |
- bool deepCopy) |
+ const SkPictInfo& info) |
: fPicture(picture) |
, fInfo(info) { |
#ifdef SK_DEBUG_SIZE |
@@ -134,12 +133,8 @@ SkPicturePlayback::SkPicturePlayback(const SkPicture* picture, |
if (fPictureCount > 0) { |
fPictureRefs = SkNEW_ARRAY(const SkPicture*, fPictureCount); |
for (int i = 0; i < fPictureCount; i++) { |
- if (deepCopy) { |
- fPictureRefs[i] = pictures[i]->clone(); |
- } else { |
- fPictureRefs[i] = pictures[i]; |
- fPictureRefs[i]->ref(); |
- } |
+ fPictureRefs[i] = pictures[i]; |
+ fPictureRefs[i]->ref(); |
} |
} |