Index: gm/plus.cpp |
diff --git a/gm/plus.cpp b/gm/plus.cpp |
index 6a5af61d80733991572952d99af7bce76593e07e..51ac2cb1039ff4552f6409b9875c5f6f0d73ff80 100644 |
--- a/gm/plus.cpp |
+++ b/gm/plus.cpp |
@@ -37,7 +37,7 @@ DEF_SIMPLE_GM(PlusMergesAA, canvas, 256, 256) { |
// Using Plus on the right should merge the AA of seam together completely covering the red. |
canvas->saveLayer(nullptr, nullptr); |
- p.setXfermodeMode(SkXfermode::kPlus_Mode); |
+ p.setBlendMode(SkBlendMode::kPlus); |
canvas->translate(150, 0); |
canvas->drawPath(upperLeft, p); |
canvas->drawPath(bottomRight, p); |