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