Index: dm/DMJsonWriter.cpp |
diff --git a/dm/DMJsonWriter.cpp b/dm/DMJsonWriter.cpp |
index 7bd8acd6d2d989e070c0d3a380ced8303f29c2af..79f308f2ba1dc105f3942d310cea670b3d5383ae 100644 |
--- a/dm/DMJsonWriter.cpp |
+++ b/dm/DMJsonWriter.cpp |
@@ -95,7 +95,7 @@ void JsonWriter::DumpJson() { |
} |
bool JsonWriter::ReadJson(const char* path, void(*callback)(BitmapResult)) { |
- SkAutoTUnref<SkData> json(SkData::NewFromFileName(path)); |
+ sk_sp<SkData> json(SkData::MakeFromFileName(path)); |
if (!json) { |
return false; |
} |