aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-08 22:03:36 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-02-08 22:03:36 +0000
commit96959218246ffab878c45237e77a26dceb52cc29 (patch)
tree3f8ad357e73d5a6922c290ff9092d7daefcddd78 /samplecode
parent91a2ae988e46b8db3f1cc691d09d77f8c5d84d2c (diff)
safeunref method to SkSafeUnref.
git-svn-id: http://skia.googlecode.com/svn/trunk@777 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleFuzz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleFuzz.cpp b/samplecode/SampleFuzz.cpp
index ba1fc03382..c6f45d6b0a 100644
--- a/samplecode/SampleFuzz.cpp
+++ b/samplecode/SampleFuzz.cpp
@@ -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: