diff options
Diffstat (limited to 'tools/fiddle/fiddle_main.cpp')
-rw-r--r-- | tools/fiddle/fiddle_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fiddle/fiddle_main.cpp b/tools/fiddle/fiddle_main.cpp index df2e8ff66e..49ce50b459 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; |