Index: src/gpu/GrPaint.cpp |
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp |
index bd5b2860f474e158e200827a9182a27a54632312..443e1c0abf71a1e81471956989b9626f3cfe2980 100644 |
--- a/src/gpu/GrPaint.cpp |
+++ b/src/gpu/GrPaint.cpp |
@@ -52,8 +52,7 @@ bool GrPaint::isOpaqueAndConstantColor(GrColor* color) const { |
void GrPaint::resetStages() { |
fColorStages.reset(); |
fCoverageStages.reset(); |
- fXPFactory.reset(GrPorterDuffXPFactory::Create(kOne_GrBlendCoeff, |
- kZero_GrBlendCoeff)); |
+ fXPFactory.reset(GrPorterDuffXPFactory::Create(SkXfermode::kSrcOver_Mode)); |
} |
bool GrPaint::getOpaqueAndKnownColor(GrColor* solidColor, |