| Index: gm/blurrect.cpp
|
| diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp
|
| index 3197eb6fc6a51c686b3d6241d2a510d18157c005..52edd6a105183ca802715e9d01439eb8723288e5 100644
|
| --- a/gm/blurrect.cpp
|
| +++ b/gm/blurrect.cpp
|
| @@ -197,8 +197,7 @@ protected:
|
| SkAutoMaskFreeImage amfi(mask.fImage);
|
|
|
| SkBitmap bm;
|
| - bm.setConfig(SkBitmap::kA8_Config, mask.fBounds.width(), mask.fBounds.height());
|
| - bm.setPixels(mask.fImage);
|
| + bm.installMaskPixels(mask);
|
|
|
| center_x = (canvas_size.fWidth - mask.fBounds.width())/2;
|
| center_y = (canvas_size.fHeight - mask.fBounds.height())/2;
|
|
|