safeunref method to SkSafeUnref.

git-svn-id: http://skia.googlecode.com/svn/trunk@777 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2011-02-08 22:03:36 +00:00
parent 91a2ae988e
commit 9695921824

View File

@ -150,7 +150,7 @@ static void do_fuzz(SkCanvas* canvas) {
case 7:
if (quick == true) break;
paint.setMaskFilter(SkBlurMaskFilter::Create(make_number(), SkBlurMaskFilter::kNormal_BlurStyle))->safeUnref();
SkSafeUnref(paint.setMaskFilter(SkBlurMaskFilter::Create(make_number(), SkBlurMaskFilter::kNormal_BlurStyle)));
break;
case 8: