| Index: src/gpu/gl/GrGpuGL_program.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp
|
| index 2afb95fe97b8383c82f9da4d116e038a88f5d239..beaaa903b2be535637e6a9019b03cb56794bb0ea 100644
|
| --- a/src/gpu/gl/GrGpuGL_program.cpp
|
| +++ b/src/gpu/gl/GrGpuGL_program.cpp
|
| @@ -10,7 +10,7 @@
|
| #include "GrEffect.h"
|
| #include "GrGLEffect.h"
|
| #include "SkRTConf.h"
|
| -#include "GrGLNameAllocator.h"
|
| +#include "GrGLPathRendering.h"
|
| #include "SkTSearch.h"
|
|
|
| #ifdef PROGRAM_CACHE_STATS
|
| @@ -203,7 +203,9 @@ void GrGpuGL::abandonResources(){
|
| INHERITED::abandonResources();
|
| fProgramCache->abandon();
|
| fHWProgramID = 0;
|
| - fPathNameAllocator.reset(NULL);
|
| + if (this->glCaps().pathRenderingSupport()) {
|
| + fPathRendering->abandonGpuResources();
|
| + }
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|