Index: gm/stroketext.cpp |
diff --git a/gm/stroketext.cpp b/gm/stroketext.cpp |
index 4f57cf6c41d9aba24692a3c8db869bb32c6449c2..13c64fa4cc52381b83f5bdd64c73c4d919171ef6 100644 |
--- a/gm/stroketext.cpp |
+++ b/gm/stroketext.cpp |
@@ -11,7 +11,7 @@ |
static void test_nulldev(SkCanvas* canvas) { |
SkBitmap bm; |
- bm.setConfig(SkBitmap::kARGB_8888_Config, 30, 30); |
+ bm.setInfo(SkImageInfo::MakeN32Premul(30, 30)); |
// notice: no pixels mom! be sure we don't crash |
// https://code.google.com/p/chromium/issues/detail?id=352616 |
SkCanvas c(bm); |