Index: gm/multipicturedraw.cpp |
diff --git a/gm/multipicturedraw.cpp b/gm/multipicturedraw.cpp |
index 1f302ee57af608d3a206d78a35a7ca0bfd78a42b..a4b09b2c2fcc7bd7bd0b5b77c14d025fa98b8c9f 100644 |
--- a/gm/multipicturedraw.cpp |
+++ b/gm/multipicturedraw.cpp |
@@ -420,7 +420,7 @@ |
step.fY = SkIntToScalar(y*kTileHeight); |
step.fPaint = new SkPaint; |
step.fPaint->setColorFilter( |
- SkColorFilter::CreateModeFilter(colors[x][y], SkXfermode::kModulate_Mode))->unref(); |
+ SkColorFilter::MakeModeFilter(colors[x][y], SkXfermode::kModulate_Mode)); |
step.fSurf = create_compat_surface(finalCanvas, kTileWidth, kTileHeight); |