Index: tests/ApplyGammaTest.cpp |
diff --git a/tests/ApplyGammaTest.cpp b/tests/ApplyGammaTest.cpp |
index 6e6e23a9aeed47baa082259cd7baca50c1714760..ec790f52803db5ae779f37e3a2f6f8bd990410c2 100644 |
--- a/tests/ApplyGammaTest.cpp |
+++ b/tests/ApplyGammaTest.cpp |
@@ -112,7 +112,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ApplyGamma, reporter, ctxInfo) { |
dstCanvas->flush(); |
SkPaint gammaPaint; |
- gammaPaint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ gammaPaint.setBlendMode(SkBlendMode::kSrc); |
gammaPaint.setColorFilter(SkGammaColorFilter::Make(gamma)); |
dstCanvas->drawImage(src, 0, 0, &gammaPaint); |