Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(862)

Unified Diff: content/common/gpu/client/command_buffer_proxy_impl.cc

Issue 600693002: content: Cleanup GpuMemoryBufferImpl destruction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove scoped_refptr<> from sender param of DeletedGpuMemoryBuffer Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/command_buffer_proxy_impl.cc
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
index 22e59a6fecd1b5e89cb87f01c15a1c2c3e3a5ae5..9884ad62640dda4c250b1d6b88146ed69c56f782 100644
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
@@ -347,7 +347,7 @@ void CommandBufferProxyImpl::DestroyGpuMemoryBuffer(int32 id) {
// Remove the gpu memory buffer from the client side cache.
DCHECK(gpu_memory_buffers_.find(id) != gpu_memory_buffers_.end());
- channel_->factory()->DeleteGpuMemoryBuffer(gpu_memory_buffers_.take(id));
+ gpu_memory_buffers_.take(id);
}
int CommandBufferProxyImpl::GetRouteID() const {
« no previous file with comments | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/common/gpu/client/gpu_channel_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698