Index: bench/TileBench.cpp |
diff --git a/bench/TileBench.cpp b/bench/TileBench.cpp |
index 60312a3d56cb06b8141953da66e729d96f9f8bea..03a758cdea03bcd83c4c638e994bd9d1fb053426 100644 |
--- a/bench/TileBench.cpp |
+++ b/bench/TileBench.cpp |
@@ -48,11 +48,10 @@ public: |
, fDoScale(doScale) { |
SkBitmap bm; |
- bm.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight); |
- |
+ bm.setConfig(SkBitmap::kARGB_8888_Config, kWidth, kHeight, 0, |
+ kOpaque_SkAlphaType); |
bm.allocPixels(); |
bm.eraseColor(SK_ColorWHITE); |
- bm.setIsOpaque(true); |
create_gradient(&bm); |