Index: dm/DMSrcSink.cpp |
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp |
index 27cb6aa54edb75271c315bbd5713dfb828dceaa8..e9211e51c2c87f72a11b6776946f539bd476ed62 100644 |
--- a/dm/DMSrcSink.cpp |
+++ b/dm/DMSrcSink.cpp |
@@ -1411,7 +1411,7 @@ Error ViaTwice::draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkStri |
} |
mojoPicture = SkMojo::FlattenedPicture::New(); |
mojoPicture->Deserialize(storage.get()); |
- storage.free(); |
+ storage.reset(); |
if (!mojoPicture) { |
return "SkMojo::FlattenedPicture::Deserialize failed"; |
} |