Index: src/gpu/gl/GrGpuGL_program.cpp |
diff --git a/src/gpu/gl/GrGpuGL_program.cpp b/src/gpu/gl/GrGpuGL_program.cpp |
index bc3a5b2e79a6e4296991d599d2bafb605263928a..bd4758c8563028ef266f8a8d0acff5dfbc84c949 100644 |
--- a/src/gpu/gl/GrGpuGL_program.cpp |
+++ b/src/gpu/gl/GrGpuGL_program.cpp |
@@ -10,6 +10,7 @@ |
#include "GrEffect.h" |
#include "GrGLEffect.h" |
#include "SkRTConf.h" |
+#include "GrGLNameAllocator.h" |
#include "SkTSearch.h" |
#ifdef PROGRAM_CACHE_STATS |
@@ -202,6 +203,7 @@ void GrGpuGL::abandonResources(){ |
INHERITED::abandonResources(); |
fProgramCache->abandon(); |
fHWProgramID = 0; |
+ fPathNameAllocator.reset(NULL); |
} |
//////////////////////////////////////////////////////////////////////////////// |