Index: gm/blurredclippedcircle.cpp |
diff --git a/gm/blurredclippedcircle.cpp b/gm/blurredclippedcircle.cpp |
index 3bbff755e980494783961286fa370cb068b3e4ea..d162ac111082def3a562d64cdbccc36ede69090e 100644 |
--- a/gm/blurredclippedcircle.cpp |
+++ b/gm/blurredclippedcircle.cpp |
@@ -34,7 +34,7 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
SkPaint whitePaint; |
whitePaint.setColor(SK_ColorWHITE); |
- whitePaint.setXfermode(SkXfermode::Create(SkXfermode::kSrc_Mode))->unref(); |
+ whitePaint.setXfermode(SkXfermode::Make(SkXfermode::kSrc_Mode)); |
whitePaint.setAntiAlias(true); |
// This scale exercises precision limits in the circle blur effect (crbug.com/560651) |