Index: bench/CoverageBench.cpp |
diff --git a/bench/CoverageBench.cpp b/bench/CoverageBench.cpp |
index 135ef392333a0bf7b595fca81e197aef720a37bb..96eafaaace9f1d5a78e6e7ba69c35973274af087 100644 |
--- a/bench/CoverageBench.cpp |
+++ b/bench/CoverageBench.cpp |
@@ -19,7 +19,7 @@ |
SkString fName; |
SkPath fPath; |
SkRasterClip fRC; |
- SkAutoPixmapStorage fPixmap; |
+ SkBitmap fBitmap; |
SkMatrix fIdentity; |
SkDraw fDraw; |
bool fDrawCoverage; |
@@ -32,12 +32,12 @@ |
fPath.quadTo(500, 0, 500, 500); |
fPath.quadTo(250, 0, 0, 500); |
- fPixmap.alloc(SkImageInfo::MakeA8(500, 500)); |
+ fBitmap.allocPixels(SkImageInfo::MakeA8(500, 500)); |
fIdentity.setIdentity(); |
fRC.setRect(fPath.getBounds().round()); |
- fDraw.fDst = fPixmap; |
+ fDraw.fBitmap = &fBitmap; |
fDraw.fMatrix = &fIdentity; |
fDraw.fClip = &fRC.bwRgn(); |
fDraw.fRC = &fRC; |