Index: tests/QuickRejectTest.cpp |
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp |
index 582789aa7561930847280fe374c5273d87972dee..6a978743f604bde2902dd6a30006830bed711c59 100644 |
--- a/tests/QuickRejectTest.cpp |
+++ b/tests/QuickRejectTest.cpp |
@@ -49,7 +49,7 @@ private: |
}; |
}; |
-SkFlattenable* TestLooper::CreateProc(SkReadBuffer&) { return new TestLooper; } |
+sk_sp<SkFlattenable> TestLooper::CreateProc(SkReadBuffer&) { return sk_make_sp<TestLooper>(); } |
static void test_drawBitmap(skiatest::Reporter* reporter) { |
SkBitmap src; |