Index: bench/RectBench.cpp |
diff --git a/bench/RectBench.cpp b/bench/RectBench.cpp |
index 901304442f9ff068832a8e216535d543979054d7..a2029e601f23b9874aa67d22db7a312581c4da59 100644 |
--- a/bench/RectBench.cpp |
+++ b/bench/RectBench.cpp |
@@ -263,8 +263,7 @@ protected: |
paint.setStrokeCap(SkPaint::kRound_Cap); |
if (_type == KMaskShader) { |
SkBitmap srcBM; |
- srcBM.setConfig(SkBitmap::kARGB_8888_Config, 10, 1); |
- srcBM.allocPixels(); |
+ srcBM.allocN32Pixels(10, 1); |
srcBM.eraseColor(0xFF00FF00); |
SkShader* s; |