Index: src/core/SkPictureData.cpp |
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp |
index e89ef37bded76249d14c12ee795f05ba17648d7c..746250d528088a8e5f616f66ad8fd243463ae155 100644 |
--- a/src/core/SkPictureData.cpp |
+++ b/src/core/SkPictureData.cpp |
@@ -191,31 +191,6 @@ SkPictureData::SkPictureData(const SkPictureData& src, SkPictCopyInfo* deepCopyI |
} |
} |
} |
-#else |
-SkPictureData::SkPictureData(const SkPictureData& src) : fInfo(src.fInfo) { |
- this->init(); |
- |
- fBitmapHeap.reset(SkSafeRef(src.fBitmapHeap.get())); |
- fPathHeap.reset(SkSafeRef(src.fPathHeap.get())); |
- |
- fOpData = SkSafeRef(src.fOpData); |
- |
- fBoundingHierarchy = src.fBoundingHierarchy; |
- fStateTree = src.fStateTree; |
- fContentInfo.set(src.fContentInfo); |
- |
- SkSafeRef(fBoundingHierarchy); |
- SkSafeRef(fStateTree); |
- |
- fBitmaps = SkSafeRef(src.fBitmaps); |
- fPaints = SkSafeRef(src.fPaints); |
- |
- fPictureCount = src.fPictureCount; |
- fPictureRefs = SkNEW_ARRAY(const SkPicture*, fPictureCount); |
- for (int i = 0; i < fPictureCount; i++) { |
- fPictureRefs[i] = SkRef(src.fPictureRefs[i]); |
- } |
-} |
#endif//SK_SUPPORT_LEGACY_PICTURE_CLONE |
void SkPictureData::init() { |