Index: src/gpu/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/GrStencilAndCoverPathRenderer.cpp b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
index 0cef788355b0603a434dc56a5ff2d8624613aa7e..aed1743af22216864a2aa2382a2ea724cc0c82a9 100644 |
--- a/src/gpu/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/GrStencilAndCoverPathRenderer.cpp |
@@ -12,6 +12,8 @@ |
#include "GrDrawTargetCaps.h" |
#include "GrGpu.h" |
#include "GrPath.h" |
+#include "GrRenderTarget.h" |
+#include "GrRenderTargetPriv.h" |
#include "SkStrokeRec.h" |
/* |
@@ -58,7 +60,6 @@ bool GrStencilAndCoverPathRenderer::canDrawPath(const GrDrawTarget* target, |
bool antiAlias) const { |
return !stroke.isHairlineStyle() && |
!antiAlias && // doesn't do per-path AA, relies on the target having MSAA |
- pipelineBuilder->getRenderTarget()->getStencilBuffer() && |
pipelineBuilder->getStencil().isDisabled(); |
} |