From d114645d931d4e95a938597a45a270f211273c17 Mon Sep 17 00:00:00 2001 From: reed Date: Fri, 25 Sep 2015 06:56:57 -0700 Subject: SkInstallDiscardablePixelRef is deprecated, enforce that No functionality change, just a renaming. BUG=skia: TBR= Review URL: https://codereview.chromium.org/1372593002 --- tests/CachedDecodingPixelRefTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/CachedDecodingPixelRefTest.cpp') diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp index 136b2f584a..2813b42bf8 100644 --- a/tests/CachedDecodingPixelRefTest.cpp +++ b/tests/CachedDecodingPixelRefTest.cpp @@ -142,7 +142,7 @@ static void test_three_encodings(skiatest::Reporter* reporter, //////////////////////////////////////////////////////////////////////////////// static bool install_skDiscardablePixelRef(SkData* encoded, SkBitmap* dst) { // Use system-default discardable memory. - return SkInstallDiscardablePixelRef(encoded, dst); + return SkDEPRECATED_InstallDiscardablePixelRef(encoded, dst); } //////////////////////////////////////////////////////////////////////////////// @@ -228,7 +228,7 @@ static void check_pixelref(TestImageGenerator::TestType type, SkAutoTDelete gen(new TestImageGenerator(type, reporter)); REPORTER_ASSERT(reporter, gen.get() != nullptr); SkBitmap lazy; - bool success = SkInstallDiscardablePixelRef(gen.detach(), nullptr, &lazy, factory); + bool success = SkDEPRECATED_InstallDiscardablePixelRef(gen.detach(), nullptr, &lazy, factory); REPORTER_ASSERT(reporter, success); if (TestImageGenerator::kSucceedGetPixels_TestType == type) { -- cgit v1.2.3