Index: gm/drawatlas.cpp |
diff --git a/gm/drawatlas.cpp b/gm/drawatlas.cpp |
index dd81628378cd9f5afd56dda3ca86f1a283d62e65..43b103c2c3f5a68910ebfd7e99cc590f8b7fc483 100644 |
--- a/gm/drawatlas.cpp |
+++ b/gm/drawatlas.cpp |
@@ -23,12 +23,12 @@ class DrawAtlasGM : public skiagm::GM { |
canvas->clear(SK_ColorRED); |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kClear_Mode); |
+ paint.setBlendMode(SkBlendMode::kClear); |
SkRect r(target); |
r.inset(-1, -1); |
// zero out a place (with a 1-pixel border) to land our drawing. |
canvas->drawRect(r, paint); |
- paint.setXfermode(nullptr); |
+ paint.setBlendMode(SkBlendMode::kSrcOver); |
paint.setColor(SK_ColorBLUE); |
paint.setAntiAlias(true); |
canvas->drawOval(target, paint); |