Index: gm/simpleaaclip.cpp |
diff --git a/gm/simpleaaclip.cpp b/gm/simpleaaclip.cpp |
index e8946b446cc857d280387e44247aac59ff8a9344..a517b50dc142727e2f6fc1c093b3d6e08c77ca4a 100644 |
--- a/gm/simpleaaclip.cpp |
+++ b/gm/simpleaaclip.cpp |
@@ -21,9 +21,7 @@ static void paint_rgn(SkCanvas* canvas, const SkAAClip& clip, |
SkAutoMaskFreeImage amfi(mask.fImage); |
- bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), |
- mask.fBounds.height(), mask.fRowBytes); |
- bm.setPixels(mask.fImage); |
+ bm.installMaskPixels(mask); |
// need to copy for deferred drawing test to work |
SkBitmap bm2; |