Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 82e47c50813de36e75294aabe1f5f93584890538..2bd792860b2ab2e2c3a0b01409e6842512588659 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -401,7 +401,7 @@ static void apply_morphology_rect(GrDrawContext* drawContext, |
radius, |
morphType, |
bounds)); |
- paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
+ paint.setPorterDuffXPFactory(SkBlendMode::kSrc); |
drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
SkRect::Make(srcRect)); |
} |
@@ -418,7 +418,7 @@ static void apply_morphology_rect_no_bounds(GrDrawContext* drawContext, |
paint.setGammaCorrect(drawContext->isGammaCorrect()); |
paint.addColorFragmentProcessor(GrMorphologyEffect::Make(texture, direction, radius, |
morphType)); |
- paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
+ paint.setPorterDuffXPFactory(SkBlendMode::kSrc); |
drawContext->fillRectToRect(clip, paint, SkMatrix::I(), SkRect::Make(dstRect), |
SkRect::Make(srcRect)); |
} |