Index: bench/ShaderMaskBench.cpp |
diff --git a/bench/ShaderMaskBench.cpp b/bench/ShaderMaskBench.cpp |
index bf04981bec34ffb82910923429b046d97fbb45e5..7323d8ee7aaeff4504f21850b9c9e4bf05ee6db4 100644 |
--- a/bench/ShaderMaskBench.cpp |
+++ b/bench/ShaderMaskBench.cpp |
@@ -44,8 +44,7 @@ public: |
fPaint.setAntiAlias(kBW != fq); |
fPaint.setLCDRenderText(kLCD == fq); |
- fPaint.setAlpha(isOpaque ? 0xFF : 0x80); |
- fPaint.setShader(new SkColorShader)->unref(); |
+ fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); |
} |
protected: |