Index: gpu/command_buffer/service/shader_translator_cache.cc |
diff --git a/gpu/command_buffer/service/shader_translator_cache.cc b/gpu/command_buffer/service/shader_translator_cache.cc |
index 9626a0e25ef590f7dabb02ab726d36389b0c1604..f204186c7e70b86576bf4118693fc39f1b7bda3b 100644 |
--- a/gpu/command_buffer/service/shader_translator_cache.cc |
+++ b/gpu/command_buffer/service/shader_translator_cache.cc |
@@ -7,14 +7,11 @@ |
namespace gpu { |
namespace gles2 { |
-ShaderTranslatorCache* ShaderTranslatorCache::GetInstance() { |
- return Singleton<ShaderTranslatorCache>::get(); |
-} |
- |
ShaderTranslatorCache::ShaderTranslatorCache() { |
} |
ShaderTranslatorCache::~ShaderTranslatorCache() { |
+ DCHECK(cache_.empty()); |
} |
void ShaderTranslatorCache::OnDestruct(ShaderTranslator* translator) { |