Index: gm/bitmaprecttest.cpp |
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp |
index cade0a71931d3ff1f293653b1f0dc9c0811cbcf8..6f0ab580774611667827f51563b76494418e9b36 100644 |
--- a/gm/bitmaprecttest.cpp |
+++ b/gm/bitmaprecttest.cpp |
@@ -9,8 +9,7 @@ |
#include "SkCanvas.h" |
static void make_bm(SkBitmap* bm) { |
- bm->setConfig(SkBitmap::kARGB_8888_Config, 60, 60); |
- bm->allocPixels(); |
+ bm->allocN32Pixels(60, 60); |
bm->eraseColor(0); |
SkCanvas canvas(*bm); |