Index: gm/shadertext3.cpp |
diff --git a/gm/shadertext3.cpp b/gm/shadertext3.cpp |
index 36abf9f8e58ae1784acd4068c9e4fca9f3776514..15b4f993175f9b6e9822a23173f213ab984b59e1 100644 |
--- a/gm/shadertext3.cpp |
+++ b/gm/shadertext3.cpp |
@@ -12,8 +12,7 @@ |
namespace skiagm { |
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); |