Index: gm/emboss.cpp |
diff --git a/gm/emboss.cpp b/gm/emboss.cpp |
index 5773577389ef7d5c25cc0bd1e63ebe9ea752547b..e7c58001f47e2c68180d8a2bb5cfd97ddffa7188 100644 |
--- a/gm/emboss.cpp |
+++ b/gm/emboss.cpp |
@@ -43,7 +43,7 @@ protected: |
canvas->drawBitmap(bm, 10, 10, &paint); |
const SkScalar dir[] = { 1, 1, 1 }; |
- paint.setMaskFilter(SkBlurMaskFilter::CreateEmboss(3, dir, 0.3f, 0.1f))->unref(); |
+ paint.setMaskFilter(SkBlurMaskFilter::MakeEmboss(3, dir, 0.3f, 0.1f)); |
canvas->translate(bm.width() + SkIntToScalar(10), 0); |
canvas->drawBitmap(bm, 10, 10, &paint); |