Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index 0a6770415584f897786603e69dc4788471fb0738..4308280e3151190f271685bba9b3893d7945d94d 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -119,6 +119,11 @@ uint32_t ContextProviderCommandBuffer::GetCopyTextureInternalFormat() { |
return GL_RGB; |
} |
+void ContextProviderCommandBuffer::FreeUnusedSharedMemory() { |
+ if (bind_succeeded_) |
+ gles2_impl_->FreeUnusedSharedMemory(); |
+} |
+ |
bool ContextProviderCommandBuffer::BindToCurrentThread() { |
// This is called on the thread the context will be used. |
DCHECK(context_thread_checker_.CalledOnValidThread()); |