Index: bench/RectBench.cpp |
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp |
index 46a515de299705f5c7ce77222057929aee28e5bc..48764cabdf091e29b89193c77085025b13868a72 100644 |
--- a/bench/RectBench.cpp |
+++ b/bench/RectBench.cpp |
@@ -85,7 +85,7 @@ private: |
class SrcModeRectBench : public RectBench { |
public: |
SrcModeRectBench() : INHERITED(1, 0) { |
- fMode = SkXfermode::Make(SkXfermode::kSrc_Mode); |
+ fMode = SkBlendMode::kSrc; |
} |
protected: |
@@ -93,7 +93,7 @@ protected: |
this->INHERITED::setupPaint(paint); |
// srcmode is most interesting when we're not opaque |
paint->setAlpha(0x80); |
- paint->setXfermode(fMode); |
+ paint->setBlendMode(fMode); |
} |
const char* onGetName() override { |
@@ -103,8 +103,8 @@ protected: |
} |
private: |
- SkString fName; |
- sk_sp<SkXfermode> fMode; |
+ SkString fName; |
+ SkBlendMode fMode; |
typedef RectBench INHERITED; |
}; |