Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
index ada6dbf96376306332eabb20597a148d09e16fc2..cf431732fd5904542e9a02b0b5d208fa9631f70b 100644 |
--- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
+++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp |
@@ -60,7 +60,7 @@ static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const SkPath& s |
} else { |
SkASSERT(path->isEqualTo(skPath, stroke)); |
} |
- return path.detach(); |
+ return path.release(); |
} |
void GrStencilAndCoverPathRenderer::onStencilPath(const StencilPathArgs& args) { |