Index: gm/emboss.cpp |
diff --git a/gm/emboss.cpp b/gm/emboss.cpp |
index 20d3c918909e1faa12cddd57210703ba1fce6a84..5773577389ef7d5c25cc0bd1e63ebe9ea752547b 100644 |
--- a/gm/emboss.cpp |
+++ b/gm/emboss.cpp |
@@ -49,7 +49,7 @@ protected: |
// this combination of emboss+colorfilter used to crash -- so we exercise it to |
// confirm that we have a fix. |
- paint.setColorFilter(SkColorFilter::CreateModeFilter(0xFFFF0000, SkXfermode::kSrcATop_Mode))->unref(); |
+ paint.setColorFilter(SkColorFilter::MakeModeFilter(0xFFFF0000, SkXfermode::kSrcATop_Mode)); |
canvas->translate(bm.width() + SkIntToScalar(10), 0); |
canvas->drawBitmap(bm, 10, 10, &paint); |
} |