Index: src/gpu/GrDrawingManager.cpp |
diff --git a/src/gpu/GrDrawingManager.cpp b/src/gpu/GrDrawingManager.cpp |
index 1b01b7afdad950cb574c12e6c212562c776ec25c..ea5c18bf79fcf4934274fbc2cd5c9219c3d2320c 100644 |
--- a/src/gpu/GrDrawingManager.cpp |
+++ b/src/gpu/GrDrawingManager.cpp |
@@ -151,7 +151,7 @@ GrPathRenderer* GrDrawingManager::getPathRenderer(const GrPathRenderer::CanDrawP |
GrPathRenderer* pr = fPathRendererChain->getPathRenderer(args, drawType, stencilSupport); |
if (!pr && allowSW) { |
if (!fSoftwarePathRenderer) { |
- fSoftwarePathRenderer = new GrSoftwarePathRenderer(fContext); |
+ fSoftwarePathRenderer = new GrSoftwarePathRenderer(fContext->textureProvider()); |
} |
pr = fSoftwarePathRenderer; |
} |