| Index: src/core/SkWriter32.cpp
|
| diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp
|
| index 457cff49ababf0068a1a06017546093371b39476..d328644f6bd730cc19c55cff91af02311db15ca5 100644
|
| --- a/src/core/SkWriter32.cpp
|
| +++ b/src/core/SkWriter32.cpp
|
| @@ -76,6 +76,6 @@ void SkWriter32::growToAtLeast(size_t size) {
|
| }
|
| }
|
|
|
| -SkData* SkWriter32::snapshotAsData() const {
|
| - return SkData::NewWithCopy(fData, fUsed);
|
| +sk_sp<SkData> SkWriter32::snapshotAsData() const {
|
| + return SkData::MakeWithCopy(fData, fUsed);
|
| }
|
|
|