Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index dadf9f23ee46355e4bb1d7789c5c790350aed324..9059f55c7af4b4630c53a85c2c9885f6dd15d8a0 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -475,15 +475,13 @@ void SkPaint2GrPaintNoShader(GrContext* context, const SkPaint& skPaint, GrColor |
if (fragmentProcessor) { |
SkASSERT(NULL == xpFactory); |
grPaint->addColorProcessor(fragmentProcessor)->unref(); |
- xpFactory = GrPorterDuffXPFactory::Create(SkXfermode::kOne_Coeff, |
- SkXfermode::kZero_Coeff); |
+ xpFactory = GrPorterDuffXPFactory::Create(SkXfermode::kSrc_Mode); |
sm = SkXfermode::kOne_Coeff; |
dm = SkXfermode::kZero_Coeff; |
} |
} else { |
// Fall back to src-over |
- xpFactory = GrPorterDuffXPFactory::Create(SkXfermode::kOne_Coeff, |
- SkXfermode::kISA_Coeff); |
+ xpFactory = GrPorterDuffXPFactory::Create(SkXfermode::kSrcOver_Mode); |
sm = SkXfermode::kOne_Coeff; |
dm = SkXfermode::kISA_Coeff; |
} |