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