Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index a815827fc4b38c238dd81ead2d469e6e4dbff7eb..a8fb43b30f901fb8380239f23394435443dc1071 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -496,7 +496,7 @@ static void push_codec_srcs(Path path) { |
info("Couldn't read %s.", path.c_str()); |
return; |
} |
- SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded.get())); |
+ SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); |
if (nullptr == codec.get()) { |
info("Couldn't create codec for %s.", path.c_str()); |
return; |