Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 3ca90f5adb0a6e433743f9f2d9b406adb0021487..f51cc54aba77b7a2bc1cffe1c056cd882cf0ce21 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -72,7 +72,7 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset, |
GrTextureParams params(SkShader::kClamp_TileMode, copyParams.fFilter); |
paint.addColorTextureProcessor(inputTexture, nullptr, SkMatrix::I(), params); |
} |
- paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
+ paint.setPorterDuffXPFactory(SkBlendMode::kSrc); |
SkRect localRect; |
if (subset) { |