Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index 13a745efe0760b6836df279728f5a016d24ba69e..6f9fefce1ba112af36e5c920aa3f343f2442f094 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -48,7 +48,6 @@ |
#include "GrFragmentProcessor.h" |
#include "GrInvariantOutput.h" |
#include "GrTextureAccess.h" |
-#include "effects/GrPorterDuffXferProcessor.h" |
#include "SkGr.h" |
@@ -282,7 +281,7 @@ |
{ |
GrContext::AutoRenderTarget art(context, maskTexture->asRenderTarget()); |
GrPaint grPaint; |
- grPaint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
+ grPaint.setBlendFunc(kOne_GrBlendCoeff, kZero_GrBlendCoeff); |
SkRegion::Iterator iter(fRegion); |
context->clear(NULL, 0x0, true, maskTexture->asRenderTarget()); |