Index: gm/textbloblooper.cpp |
diff --git a/gm/textbloblooper.cpp b/gm/textbloblooper.cpp |
index d9701131a407f2dae3766b777b3a37826758d77f..ac8b7c9759580070317b54cd81eb0f05fd20a586 100644 |
--- a/gm/textbloblooper.cpp |
+++ b/gm/textbloblooper.cpp |
@@ -97,7 +97,7 @@ static void color_filter(SkPaint* paint) { |
SkRect r; |
r.setWH(SkIntToScalar(kWidth), 50); |
paint->setShader(make_shader(r)); |
- paint->setColorFilter(SkColorMatrixFilter::CreateLightingFilter(0xF0F0F0, 0))->unref(); |
+ paint->setColorFilter(SkColorMatrixFilter::MakeLightingFilter(0xF0F0F0, 0)); |
} |
static void kitchen_sink(SkPaint* paint) { |