Index: gm/colormatrix.cpp |
diff --git a/gm/colormatrix.cpp b/gm/colormatrix.cpp |
index 202f72ab12bc9530de8a744b3b983ae79e9ad491..f6d51fcbb55923bc5eea8abcfcfd0a9101ba53bc 100644 |
--- a/gm/colormatrix.cpp |
+++ b/gm/colormatrix.cpp |
@@ -77,7 +77,7 @@ protected: |
SkPaint paint; |
SkColorMatrix matrix; |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
const SkImage* bmps[] = { fSolidImg.get(), fTransparentImg.get() }; |
for (size_t i = 0; i < SK_ARRAY_COUNT(bmps); ++i) { |