From 9920b10f5292838f00600f676c4578cd11705e60 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Sat, 1 Apr 2017 12:14:57 -0400 Subject: Revert[2] "clean up (partially) colortable api"" This reverts commit 1d1165ca6575e082b892c5460492c411618783ad. Bug: skia: Change-Id: Idbc0634ae3cec2e79f592d252de8751b077e6408 Reviewed-on: https://skia-review.googlesource.com/11024 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- 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