hide SkBitmap::setConfig
patch from issue 325733002
TBR=scroggo
Author: reed@chromium.org
Review URL: https://codereview.chromium.org/322963002
diff --git a/gm/stroketext.cpp b/gm/stroketext.cpp
index 4f57cf6..13c64fa 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);