Index: samplecode/SampleFuzz.cpp |
diff --git a/samplecode/SampleFuzz.cpp b/samplecode/SampleFuzz.cpp |
index 76420f026a6e53ed81cc0dc1d95cedc62c2b5e21..c7d05782e32504c96e371065763b4757407caeec 100644 |
--- a/samplecode/SampleFuzz.cpp |
+++ b/samplecode/SampleFuzz.cpp |
@@ -153,15 +153,15 @@ static void do_fuzz(SkCanvas* canvas) { |
break; |
case 2: { |
- SkXfermode::Mode mode; |
+ SkBlendMode mode; |
switch (R(3)) { |
- case 0: mode = SkXfermode::kSrc_Mode; break; |
- case 1: mode = SkXfermode::kXor_Mode; break; |
+ case 0: mode = SkBlendMode::kSrc; break; |
+ case 1: mode = SkBlendMode::kXor; break; |
case 2: |
default: // silence warning |
- mode = SkXfermode::kSrcOver_Mode; break; |
+ mode = SkBlendMode::kSrcOver; break; |
} |
- paint.setXfermodeMode(mode); |
+ paint.setBlendMode(mode); |
} |
break; |