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