Index: gm/dstreadshuffle.cpp |
diff --git a/gm/dstreadshuffle.cpp b/gm/dstreadshuffle.cpp |
index 47c70563b5388f23956f53258e8689d29f791b0e..72a68b1d9dcf72b3befe6e2d2e533778766d8514 100644 |
--- a/gm/dstreadshuffle.cpp |
+++ b/gm/dstreadshuffle.cpp |
@@ -159,8 +159,8 @@ protected: |
p.setColor(color); |
// In order to get some batching on the GPU backend we do 2 src over for |
// each xfer mode which requires a dst read |
- p.setXfermodeMode(r % 3 == 0 ? SkXfermode::kLighten_Mode : |
- SkXfermode::kSrcOver_Mode); |
+ p.setBlendMode(r % 3 == 0 ? SkBlendMode::kLighten : |
+ SkBlendMode::kSrcOver); |
SetStyle(&p, style, width); |
canvas->save(); |
canvas->translate(x, y); |