Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 48e50b7717065f9b8b105549d14b2c746b34ec03..2d61f35a4f02151bfc5508513ffb52c89e8c96b4 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -135,8 +135,7 @@ void GrContext::initCommon() { |
this->setupDrawBuffer(); |
// GrBatchFontCache will eventually replace GrFontCache |
- fBatchFontCache = SkNEW(GrBatchFontCache); |
- fBatchFontCache->init(this); |
+ fBatchFontCache = SkNEW_ARGS(GrBatchFontCache, (this)); |
fTextBlobCache.reset(SkNEW(GrTextBlobCache)); |
} |