Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
index 289805036f7ecddfaa46eceff0415e89476c0af1..29adc69ad843421354be30f50f2cf30bd5070cd6 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -413,16 +413,6 @@ BrowserGpuChannelHostFactory::AllocateGpuMemoryBuffer(size_t width, |
return request.result.Pass(); |
} |
-void BrowserGpuChannelHostFactory::DeleteGpuMemoryBuffer( |
- scoped_ptr<gfx::GpuMemoryBuffer> buffer) { |
- DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- |
- GetIOLoopProxy()->PostTask( |
- FROM_HERE, |
- base::Bind(&BrowserGpuChannelHostFactory::DeleteGpuMemoryBufferOnIO, |
- base::Passed(&buffer))); |
-} |
- |
// static |
void BrowserGpuChannelHostFactory::AddFilterOnIO( |
int host_id, |
@@ -477,11 +467,6 @@ void BrowserGpuChannelHostFactory::AllocateGpuMemoryBufferOnIO( |
} |
// static |
-void BrowserGpuChannelHostFactory::DeleteGpuMemoryBufferOnIO( |
- scoped_ptr<gfx::GpuMemoryBuffer> buffer) { |
-} |
- |
-// static |
void BrowserGpuChannelHostFactory::OnGpuMemoryBufferCreated( |
AllocateGpuMemoryBufferRequest* request, |
scoped_ptr<GpuMemoryBufferImpl> buffer) { |