Index: src/gpu/gl/GrGLGpuProgramCache.cpp |
diff --git a/src/gpu/gl/GrGLGpuProgramCache.cpp b/src/gpu/gl/GrGLGpuProgramCache.cpp |
index f37264aa1de14931035f4899f20164994dafb6a9..dc449f8159e6d4b35bbc5217670e5cf3c7ec3fe2 100644 |
--- a/src/gpu/gl/GrGLGpuProgramCache.cpp |
+++ b/src/gpu/gl/GrGLGpuProgramCache.cpp |
@@ -77,7 +77,7 @@ GrGLGpu::ProgramCache::~ProgramCache() { |
#endif |
} |
-void GrGLGpu::ProgramCache::reset() { |
+void GrGLGpu::ProgramCache::abandon() { |
for (int i = 0; i < fCount; ++i) { |
SkASSERT(fEntries[i]->fProgram.get()); |
fEntries[i]->fProgram->abandon(); |
@@ -99,10 +99,6 @@ void GrGLGpu::ProgramCache::reset() { |
#endif |
} |
-void GrGLGpu::ProgramCache::abandon() { |
- this->reset(); |
-} |
- |
int GrGLGpu::ProgramCache::search(const GrProgramDesc& desc) const { |
ProgDescLess less; |
return SkTSearch(fEntries, fCount, desc, sizeof(Entry*), less); |