Index: include/core/SkWriter32.h |
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h |
index a2c6f5d4721c74847ba35ddc31e21fc9889aed3c..26388cd37ea9a735f5da9ef330e4f6eaddcc180a 100644 |
--- a/include/core/SkWriter32.h |
+++ b/include/core/SkWriter32.h |
@@ -246,7 +246,7 @@ public: |
/** |
* Captures a snapshot of the data as it is right now, and return it. |
*/ |
- SkData* snapshotAsData() const; |
+ sk_sp<SkData> snapshotAsData() const; |
private: |
void growToAtLeast(size_t size); |