Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index 0e09eda5ecd1a5e72bfa69abee8e6aab33546ef0..14fa05a598e2dc7a85372c108265cfc6289bf56a 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -44,11 +44,6 @@ static base::LazyInstance<std::set<WebGraphicsContext3DCommandBufferImpl*> > |
namespace { |
-void ClearSharedContexts() { |
- base::AutoLock lock(g_all_shared_contexts_lock.Get()); |
- g_all_shared_contexts.Pointer()->clear(); |
-} |
- |
void ClearSharedContextsIfInShareSet( |
WebGraphicsContext3DCommandBufferImpl* context) { |
// If the given context isn't in the share set, that means that it |