| Index: src/gpu/GrTextStrike.cpp
|
| diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp
|
| index 9f9ea130f647d57ca319b595f0d6b72c6992d351..5606fe3bcc456395f8b29ab2528fb205fd161f75 100644
|
| --- a/src/gpu/GrTextStrike.cpp
|
| +++ b/src/gpu/GrTextStrike.cpp
|
| @@ -306,7 +306,8 @@ bool GrTextStrike::addGlyphToAtlas(GrGlyph* glyph, GrFontScaler* scaler) {
|
| int bytesPerPixel = GrMaskFormatBytesPerPixel(fMaskFormat);
|
|
|
| size_t size = glyph->fBounds.area() * bytesPerPixel;
|
| - SkAutoSMalloc<1024> storage(size);
|
| + GrAutoMalloc<1024> storage(size);
|
| +
|
| if (fUseDistanceField) {
|
| if (!scaler->getPackedGlyphDFImage(glyph->fPackedID, glyph->width(),
|
| glyph->height(),
|
|
|