Index: src/gpu/GrStencilAndCoverTextContext.cpp |
diff --git a/src/gpu/GrStencilAndCoverTextContext.cpp b/src/gpu/GrStencilAndCoverTextContext.cpp |
index 172a856eb11871f70fddc8eaf5a4dcf003bf78b4..bf47abd731bc37370d9517ec0d395e24a3e9b3b1 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; |
} |