Index: src/gpu/GrBatchFontCache.cpp |
diff --git a/src/gpu/GrBatchFontCache.cpp b/src/gpu/GrBatchFontCache.cpp |
index de8047b948bebf275844b9a3678ebc78363f3934..f3844cecbacdaabee62fd59ec9872452506f5743 100644 |
--- a/src/gpu/GrBatchFontCache.cpp |
+++ b/src/gpu/GrBatchFontCache.cpp |
@@ -178,7 +178,7 @@ GrGlyph* GrBatchTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::Packe |
} |
GrMaskFormat format = scaler->getPackedGlyphMaskFormat(skGlyph); |
- GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph), SK_MALLOC_THROW); |
+ GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph)); |
glyph->init(packed, bounds, format); |
fCache.add(glyph); |
return glyph; |