Index: gm/tilemodes_scaled.cpp |
diff --git a/gm/tilemodes_scaled.cpp b/gm/tilemodes_scaled.cpp |
index 87bd1dd57b859e35a32150037141a6f69a979c57..603a78fb1e958ba1ca4ff2cb0ac7baf09ad262f9 100644 |
--- a/gm/tilemodes_scaled.cpp |
+++ b/gm/tilemodes_scaled.cpp |
@@ -20,8 +20,7 @@ |
#include "SkBlurDrawLooper.h" |
static void makebm(SkBitmap* bm, SkBitmap::Config config, int w, int h) { |
- bm->setConfig(config, w, h); |
- bm->allocPixels(); |
+ bm->allocConfigPixels(config, w, h); |
bm->eraseColor(SK_ColorTRANSPARENT); |
SkCanvas canvas(*bm); |