Index: bench/BitmapRectBench.cpp |
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp |
index 1dd98ef9750a653380eb83d4e374d32ede9cdd59..104cb24bd90e51c6d00dd28ece3a1f29e7f69380 100644 |
--- a/bench/BitmapRectBench.cpp |
+++ b/bench/BitmapRectBench.cpp |
@@ -66,7 +66,7 @@ protected: |
virtual void onPreDraw() SK_OVERRIDE { |
fBitmap.allocPixels(); |
- fBitmap.setIsOpaque(true); |
+ fBitmap.setAlphaType(kOpaque_SkAlphaType); |
fBitmap.eraseColor(SK_ColorBLACK); |
draw_into_bitmap(fBitmap); |