Index: src/gpu/batches/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp |
index 708bcd723413317031d1d5e1ce956360e233e46d..1de0bf771e2066f6c46237239a8db909d4dfe6d6 100644 |
--- a/src/gpu/batches/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/batches/GrDefaultPathRenderer.cpp |
@@ -46,8 +46,8 @@ static inline bool single_pass_path(const SkPath& path, const SkStrokeRec& strok |
} |
GrPathRenderer::StencilSupport |
-GrDefaultPathRenderer::onGetStencilSupport(const SkPath& path, const GrStrokeInfo& stroke) const { |
- if (single_pass_path(path, stroke)) { |
+GrDefaultPathRenderer::onGetStencilSupport(const SkPath& path) const { |
+ if (single_pass_path(path, SkStrokeRec(SkStrokeRec::kFill_InitStyle))) { |
return GrPathRenderer::kNoRestriction_StencilSupport; |
} else { |
return GrPathRenderer::kStencilOnly_StencilSupport; |
@@ -618,7 +618,7 @@ void GrDefaultPathRenderer::onStencilPath(const StencilPathArgs& args) { |
SkASSERT(SkPath::kInverseEvenOdd_FillType != args.fPath->getFillType()); |
SkASSERT(SkPath::kInverseWinding_FillType != args.fPath->getFillType()); |
this->internalDrawPath(args.fTarget, args.fPipelineBuilder, GrColor_WHITE, *args.fViewMatrix, |
- *args.fPath, *args.fStroke, true); |
+ *args.fPath, GrStrokeInfo::FillInfo(), true); |
} |
/////////////////////////////////////////////////////////////////////////////////////////////////// |