Index: tests/TessellatingPathRendererTests.cpp |
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp |
index 6d562ea24d1cecf94689dbe89956bc6bbadaf459..51ccef93293f48d33d87c931ac70a654bf49afd1 100644 |
--- a/tests/TessellatingPathRendererTests.cpp |
+++ b/tests/TessellatingPathRendererTests.cpp |
@@ -236,7 +236,7 @@ static void test_path(GrDrawContext* drawContext, GrResourceProvider* rp, const |
GrTessellatingPathRenderer tess; |
GrPaint paint; |
- paint.setXPFactory(GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode))->unref(); |
+ paint.setXPFactory(GrPorterDuffXPFactory::Make(SkXfermode::kSrc_Mode)); |
GrNoClip noClip; |
GrStyle style(SkStrokeRec::kFill_InitStyle); |