Index: content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
index 8da027bbb5b0bb475b10e31c3b8ed5fdfe4a708d..d885f3f8676d78d45cf0aaf14fd96a98a34076c2 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
@@ -32,15 +32,15 @@ void GpuMemoryBufferImpl::AllocateForChildProcess( |
unsigned internalformat, |
unsigned usage, |
base::ProcessHandle child_process, |
- gfx::GpuMemoryBufferHandle* handle) { |
+ const AllocationCallback& callback) { |
if (GpuMemoryBufferImplShm::IsConfigurationSupported( |
size, internalformat, usage)) { |
GpuMemoryBufferImplShm::AllocateSharedMemoryForChildProcess( |
- size, internalformat, child_process, handle); |
+ size, internalformat, child_process, callback); |
return; |
} |
- handle->type = gfx::EMPTY_BUFFER; |
+ callback.Run(gfx::GpuMemoryBufferHandle()); |
} |
// static |