Index: src/gpu/GrBatchFontCache.cpp |
diff --git a/src/gpu/GrBatchFontCache.cpp b/src/gpu/GrBatchFontCache.cpp |
index 2d6213c085175414adbb861a40d6c90b80d3f301..39c6d5a0fd62d2456329d76f18ca310310929bba 100644 |
--- a/src/gpu/GrBatchFontCache.cpp |
+++ b/src/gpu/GrBatchFontCache.cpp |
@@ -217,7 +217,7 @@ bool GrBatchTextStrike::addGlyphToAtlas(GrBatchTarget* batchTarget, GrGlyph* gly |
int bytesPerPixel = GrMaskFormatBytesPerPixel(glyph->fMaskFormat); |
size_t size = glyph->fBounds.area() * bytesPerPixel; |
- GrAutoMalloc<1024> storage(size); |
+ SkAutoSMalloc<1024> storage(size); |
if (GrGlyph::kDistance_MaskStyle == GrGlyph::UnpackMaskStyle(glyph->fPackedID)) { |
if (!scaler->getPackedGlyphDFImage(glyph->fPackedID, glyph->width(), |