Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 550d7ff7c19a4f4c7d9a65cb66c1abe1250c7f03..213c5252ac098fa719a5d1cc043378408417f8b7 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -244,18 +244,17 @@ void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) |
} |
GrTextContext* GrContext::createTextContext(GrRenderTarget* renderTarget, |
- SkGpuDevice* gpuDevice, |
const SkDeviceProperties& |
leakyProperties, |
bool enableDistanceFieldFonts) { |
if (fGpu->caps()->shaderCaps()->pathRenderingSupport() && renderTarget->isMultisampled()) { |
GrStencilAttachment* sb = renderTarget->renderTargetPriv().attachStencilAttachment(); |
if (sb) { |
- return GrStencilAndCoverTextContext::Create(this, gpuDevice, leakyProperties); |
+ return GrStencilAndCoverTextContext::Create(this, leakyProperties); |
} |
} |
- return GrAtlasTextContext::Create(this, gpuDevice, leakyProperties, enableDistanceFieldFonts); |
+ return GrAtlasTextContext::Create(this, leakyProperties, enableDistanceFieldFonts); |
} |
//////////////////////////////////////////////////////////////////////////////// |