From 342b7acc46550af5fbefc6f9313231ede11ed692 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 4 Nov 2016 11:49:42 -0400 Subject: tests: s/SkAutoTUnref/sk_sp/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4394 Change-Id: I088b3c6e2adff07abed1e8a50091cc0ec4a4109c Reviewed-on: https://skia-review.googlesource.com/4394 Reviewed-by: Ben Wagner Commit-Queue: Hal Canary --- tests/DrawBitmapRectTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/DrawBitmapRectTest.cpp') diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp index 2fbe1908c1..221f0c9b91 100644 --- a/tests/DrawBitmapRectTest.cpp +++ b/tests/DrawBitmapRectTest.cpp @@ -32,7 +32,7 @@ protected: // static void test_faulty_pixelref(skiatest::Reporter* reporter) { // need a cache, but don't expect to use it, so the budget is not critical - SkAutoTUnref pool( + sk_sp pool( SkDiscardableMemoryPool::Create(10 * 1000, nullptr)); SkBitmap bm; -- cgit v1.2.3