Index: tools/fiddle/fiddle_main.cpp |
diff --git a/tools/fiddle/fiddle_main.cpp b/tools/fiddle/fiddle_main.cpp |
index df2e8ff66eb86218a70cbe40582d5bf09665d2fd..49ce50b45923d6164e9ecca3381fcddcef4c4bc6 100644 |
--- a/tools/fiddle/fiddle_main.cpp |
+++ b/tools/fiddle/fiddle_main.cpp |
@@ -93,7 +93,7 @@ static SkData* encode_snapshot(const sk_sp<SkSurface>& surface) { |
int main() { |
const DrawOptions options = GetDrawOptions(); |
if (options.source) { |
- sk_sp<SkData> data(SkData::NewFromFileName(options.source)); |
+ sk_sp<SkData> data(SkData::MakeFromFileName(options.source)); |
if (!data) { |
perror(options.source); |
return 1; |