| Index: src/gpu/gl/GrGLPath.cpp
|
| diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp
|
| index 46006558b9101939afd10ac715048b5fc423946a..ed5a31d9d2f67bf97d90c702c8d2327160e79e48 100644
|
| --- a/src/gpu/gl/GrGLPath.cpp
|
| +++ b/src/gpu/gl/GrGLPath.cpp
|
| @@ -330,11 +330,11 @@ GrGLPath::GrGLPath(GrGLGpu* gpu, const SkPath& origSkPath, const GrStrokeInfo& o
|
| }
|
| }
|
|
|
| - this->registerWithCache();
|
| + this->registerWithCache(SkBudgeted::kYes);
|
| }
|
|
|
| void GrGLPath::onRelease() {
|
| - if (0 != fPathID && this->shouldFreeResources()) {
|
| + if (0 != fPathID) {
|
| static_cast<GrGLGpu*>(this->getGpu())->glPathRendering()->deletePaths(fPathID, 1);
|
| fPathID = 0;
|
| }
|
|
|