Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 515e05b323dbec573694cb1a5ea0511a4acf1945..bbae2e1552ef9194970c093403ecdb5e64998605 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -107,7 +107,7 @@ sk_sp<GrTexture> SkAlphaThresholdFilterImpl::createMaskTexture(GrContext* contex |
} |
GrPaint grPaint; |
- grPaint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
+ grPaint.setPorterDuffXPFactory(SkBlendMode::kSrc); |
SkRegion::Iterator iter(fRegion); |
drawContext->clear(nullptr, 0x0, true); |