Index: bench/CoverageBench.cpp |
diff --git a/bench/CoverageBench.cpp b/bench/CoverageBench.cpp |
index 2c84102f7d899e8d7e8e3a34f3acc623b6d6ccd8..0631c179acd35d9d14c98636780d8128323716e4 100644 |
--- a/bench/CoverageBench.cpp |
+++ b/bench/CoverageBench.cpp |
@@ -32,8 +32,7 @@ public: |
fPath.quadTo(500, 0, 500, 500); |
fPath.quadTo(250, 0, 0, 500); |
- fBitmap.setConfig(SkBitmap::kA8_Config, 500, 500); |
- fBitmap.allocPixels(); |
+ fBitmap.allocPixels(SkImageInfo::MakeA8(500, 500)); |
fIdentity.setIdentity(); |
fRC.setRect(fPath.getBounds().round()); |