Index: tests/ImageTest.cpp |
diff --git a/tests/ImageTest.cpp b/tests/ImageTest.cpp |
index 993c3fa0f20da04f2368a62f8e729516483291ba..74dd532d231f2db3e32abb3daff9053989caf094 100644 |
--- a/tests/ImageTest.cpp |
+++ b/tests/ImageTest.cpp |
@@ -351,7 +351,7 @@ DEF_TEST(Image_RetainSnapshot, reporter) { |
} |
SkPaint paint; |
- paint.setXfermodeMode(SkXfermode::kSrc_Mode); |
+ paint.setBlendMode(SkBlendMode::kSrc); |
paint.setColor(SK_ColorRED); |
surface->getCanvas()->drawRect(SkRect::MakeXYWH(1, 1, 1, 1), paint); |