Index: content/common/gpu/client/gpu_memory_buffer_impl_android.cc |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_android.cc b/content/common/gpu/client/gpu_memory_buffer_impl_android.cc |
index 0e31dc9b65f31dc140d00887a2928258e214dafa..5af28171f90fb8f2fce5981399ca37fdff9fd04d 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_android.cc |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_android.cc |
@@ -33,15 +33,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 |