From 2e491a6a113c5e16a3b7bede5fa6f588deeb928d Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Fri, 31 Mar 2017 09:20:50 -0400 Subject: clean up (partially) colortable api Needs this to land: https://codereview.chromium.org/2789853002/ Bug: skia: Change-Id: I38d916a546b7fa64d000d973e695ddda24a589e7 Reviewed-on: https://skia-review.googlesource.com/10600 Commit-Queue: Mike Reed Reviewed-by: Matt Sarett --- tests/BitmapTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/BitmapTest.cpp') diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp index 9342d261c2..76621e6b38 100644 --- a/tests/BitmapTest.cpp +++ b/tests/BitmapTest.cpp @@ -44,7 +44,7 @@ static void test_bigalloc(skiatest::Reporter* reporter) { SkBitmap bm; REPORTER_ASSERT(reporter, !bm.tryAllocPixels(info)); - SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr); + sk_sp pr = SkMallocPixelRef::MakeAllocate(info, info.minRowBytes(), nullptr); REPORTER_ASSERT(reporter, !pr); } -- cgit v1.2.3