Index: tests/RecordOptsTest.cpp |
diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp |
index 597639e5432f2408f36d1ff521bb4d5e803e83ec..77eb76bc0288e6715ef754fa2a906a296962958b 100644 |
--- a/tests/RecordOptsTest.cpp |
+++ b/tests/RecordOptsTest.cpp |
@@ -224,7 +224,7 @@ |
xfermodePaint.setXfermodeMode(SkXfermode::kDstIn_Mode); |
SkPaint colorFilterPaint; |
colorFilterPaint.setColorFilter( |
- SkColorFilter::CreateModeFilter(SK_ColorLTGRAY, SkXfermode::kSrcIn_Mode))->unref(); |
+ SkColorFilter::MakeModeFilter(SK_ColorLTGRAY, SkXfermode::kSrcIn_Mode)); |
SkPaint opaqueFilterLayerPaint; |
opaqueFilterLayerPaint.setColor(0xFF020202); // Opaque. |