Index: gm/modecolorfilters.cpp |
diff --git a/gm/modecolorfilters.cpp b/gm/modecolorfilters.cpp |
index 50bb27f9d8a561db3691e755dd70356660575b17..ae926ef1fe301dad8a2b7ed03207bf09c6dd31f2 100644 |
--- a/gm/modecolorfilters.cpp |
+++ b/gm/modecolorfilters.cpp |
@@ -78,7 +78,7 @@ protected: |
} |
SkPaint bgPaint; |
bgPaint.setShader(fBmpShader); |
- bgPaint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ bgPaint.setBlendMode(SkBlendMode::kSrc); |
sk_sp<SkShader> shaders[] = { |
nullptr, // use a paint color instead of a shader |