Index: src/gpu/GrAddPathRenderers_default.cpp |
diff --git a/src/gpu/GrAddPathRenderers_default.cpp b/src/gpu/GrAddPathRenderers_default.cpp |
index 1797f579830f96728e766b7572effd70980ae70e..f06856a6502100a14c5dbb8ccb50658efd70a126 100644 |
--- a/src/gpu/GrAddPathRenderers_default.cpp |
+++ b/src/gpu/GrAddPathRenderers_default.cpp |
@@ -11,7 +11,9 @@ |
#include "GrAAHairLinePathRenderer.h" |
#include "GrAAConvexPathRenderer.h" |
#include "GrAADistanceFieldPathRenderer.h" |
+#include "GrContext.h" |
#include "GrDashLinePathRenderer.h" |
+#include "GrGpu.h" |
#include "GrTessellatingPathRenderer.h" |
#if GR_STROKE_PATH_RENDERING |
#include "../../experimental/StrokePathRenderer/GrStrokePathRenderer.h" |
@@ -33,7 +35,8 @@ void GrPathRenderer::AddPathRenderers(GrContext* ctx, GrPathRendererChain* chain |
#if GR_ANDROID_PATH_RENDERING |
chain->addPathRenderer(SkNEW(GrAndroidPathRenderer))->unref(); |
#endif |
- if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(ctx)) { |
+ if (GrPathRenderer* pr = GrStencilAndCoverPathRenderer::Create(ctx->resourceProvider(), |
+ *ctx->getGpu()->caps())) { |
chain->addPathRenderer(pr)->unref(); |
} |
#if GR_TESSELLATING_PATH_RENDERING |