diff options
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rwxr-xr-x | src/gpu/GrContext.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 40e714b152..89429f186d 100755 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -33,6 +33,7 @@ #include "GrStencilAndCoverTextContext.h" #include "GrStrokeInfo.h" #include "GrSurfacePriv.h" +#include "GrTextBlobCache.h" #include "GrTexturePriv.h" #include "GrTraceMarker.h" #include "GrTracing.h" @@ -136,6 +137,8 @@ void GrContext::initCommon() { // GrBatchFontCache will eventually replace GrFontCache fBatchFontCache = SkNEW(GrBatchFontCache); fBatchFontCache->init(this); + + fTextBlobCache.reset(SkNEW(GrTextBlobCache)); } GrContext::~GrContext() { |