Index: src/core/SkPictureRecord.h |
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h |
index 59bd92dc77d27562dbdfc023023bfc724c3243f6..8504c00ee4fdd553ec32169d1e79f40ff01a2386 100644 |
--- a/src/core/SkPictureRecord.h |
+++ b/src/core/SkPictureRecord.h |
@@ -47,17 +47,12 @@ public: |
return fImageRefs; |
} |
- sk_sp<SkData> opData(bool deepCopy) const { |
+ sk_sp<SkData> opData() const { |
this->validate(fWriter.bytesWritten(), 0); |
if (fWriter.bytesWritten() == 0) { |
return SkData::MakeEmpty(); |
} |
- |
- if (deepCopy) { |
- return SkData::MakeWithCopy(fWriter.contiguousArray(), fWriter.bytesWritten()); |
- } |
- |
return fWriter.snapshotAsData(); |
} |