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 --- tests/CodecPriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/CodecPriv.h') diff --git a/tests/CodecPriv.h b/tests/CodecPriv.h index 1123a41dc9..4e42731b01 100644 --- a/tests/CodecPriv.h +++ b/tests/CodecPriv.h @@ -10,7 +10,7 @@ #include "SkData.h" inline bool decode_memory(const void* mem, size_t size, SkBitmap* bm) { - SkAutoTUnref data(SkData::NewWithoutCopy(mem, size)); + sk_sp data(SkData::MakeWithoutCopy(mem, size)); SkAutoTDelete codec(SkCodec::NewFromData(data.get())); if (!codec) { -- cgit v1.2.3