| Index: src/gpu/gl/GrGLPath.cpp
|
| diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
|
| index c15a1a2d62461b1430642e2ca5ad182c14087dd8..3ffe5ad76aa7fcad94dd75f0bfe2f4d30743d2e4 100644
|
| --- a/src/gpu/gl/GrGLPath.cpp
|
| +++ b/src/gpu/gl/GrGLPath.cpp
|
| @@ -335,7 +335,7 @@ GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& origSkPath, const GrStrokeInfo& o
|
| }
|
|
|
| void GrGLPath::onRelease() {
|
| - if (0 != fPathID && this->shouldFreeResources()) {
|
| + if (0 != fPathID) {
|
| static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fPathID, 1);
|
| fPathID = 0;
|
| }
|
|
|