| Index: src/gpu/GrSWMaskHelper.h
|
| diff --git a/src/gpu/GrSWMaskHelper.h b/src/gpu/GrSWMaskHelper.h
|
| index a69e4bec991f353d8424cc8d7ddaa97543966f22..b90205b1a1e93afbb882c51d5c698d93255bb309 100644
|
| --- a/src/gpu/GrSWMaskHelper.h
|
| +++ b/src/gpu/GrSWMaskHelper.h
|
| @@ -69,7 +69,7 @@ public:
|
|
|
| // Reset the internal bitmap
|
| void clear(uint8_t alpha) {
|
| - fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
|
| + fPixels.erase(SkColorSetARGB(alpha, 0xFF, 0xFF, 0xFF));
|
| }
|
|
|
| // Canonical usage utility that draws a single path and uploads it
|
| @@ -105,7 +105,7 @@ private:
|
|
|
| GrContext* fContext;
|
| SkMatrix fMatrix;
|
| - SkBitmap fBM;
|
| + SkAutoPixmapStorage fPixels;
|
| SkDraw fDraw;
|
| SkRasterClip fRasterClip;
|
|
|
|
|