Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index db41c02239b0ad3245489c85d7270371070207d8..3563c347de556b229803c0bf7129d7544870dfba 100644 |
--- a/src/gpu/GrStencilAndCoverTextContext.cpp |
+++ b/src/gpu/GrStencilAndCoverTextContext.cpp |
@@ -34,7 +34,11 @@ GrStencilAndCoverTextContext::Create(GrContext* context, SkGpuDevice* gpuDevice, |
const SkDeviceProperties& props) { |
GrStencilAndCoverTextContext* textContext = SkNEW_ARGS(GrStencilAndCoverTextContext, |
(context, gpuDevice, props)); |
+#ifdef USE_BITMAP_TEXTBLOBS |
+ textContext->fFallbackTextContext = GrBitmapTextContextB::Create(context, gpuDevice, props); |
+#else |
textContext->fFallbackTextContext = GrBitmapTextContext::Create(context, gpuDevice, props); |
+#endif |
return textContext; |
} |