Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 78f29e73bc713d773ce27ce94164244316b83c25..35b34e392d4bed5a9124a5cebbe3ffaf1ca1a919 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -215,17 +215,19 @@ void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) |
} |
GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
+ SkGpuDevice* gpuDevice, |
const SkDeviceProperties& |
leakyProperties, |
bool enableDistanceFieldFonts) { |
if (fGpu->caps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
GrStencilBuffer* sb = renderTarget->renderTargetPriv().attachStencilBuffer(); |
if (sb) { |
- return GrStencilAndCoverTextContext::Create(this, leakyProperties); |
+ return GrStencilAndCoverTextContext::Create(this, gpuDevice, leakyProperties); |
} |
} |
- return GrDistanceFieldTextContext::Create(this, leakyProperties, enableDistanceFieldFonts); |
+ return GrDistanceFieldTextContext::Create(this, gpuDevice, leakyProperties, |
+ enableDistanceFieldFonts); |
} |
//////////////////////////////////////////////////////////////////////////////// |