From 38d909ec2875f79952de08f36adfaac5680d2c53 Mon Sep 17 00:00:00 2001 From: bungeman Date: Tue, 2 Aug 2016 14:40:46 -0700 Subject: Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. This moves Skia code off of SK_SUPPORT_LEGACY_DATA_FACTORIES. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2206633004 Review-Url: https://codereview.chromium.org/2206633004 --- tools/fiddle/fiddle_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/fiddle') 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& surface) { int main() { const DrawOptions options = GetDrawOptions(); if (options.source) { - sk_sp data(SkData::NewFromFileName(options.source)); + sk_sp data(SkData::MakeFromFileName(options.source)); if (!data) { perror(options.source); return 1; -- cgit v1.2.3