Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index 7aec4ef6a28854661773fd50d952d8804f95ca69..107d602a34ea4e1a102fb559dd0b80f5d55d8412 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -766,7 +766,7 @@ void GpuProcessHost::OnGpuMemoryBufferCreated( |
DCHECK(!create_gpu_memory_buffer_requests_.empty()); |
auto callback = create_gpu_memory_buffer_requests_.front(); |
create_gpu_memory_buffer_requests_.pop(); |
- callback.Run(handle); |
+ callback.Run(handle, BufferCreationStatus::SUCCESS); |
} |
#if defined(OS_ANDROID) |
@@ -1051,7 +1051,8 @@ void GpuProcessHost::SendOutstandingReplies() { |
while (!create_gpu_memory_buffer_requests_.empty()) { |
auto callback = create_gpu_memory_buffer_requests_.front(); |
create_gpu_memory_buffer_requests_.pop(); |
- callback.Run(gfx::GpuMemoryBufferHandle()); |
+ callback.Run(gfx::GpuMemoryBufferHandle(), |
+ BufferCreationStatus::GPU_HOST_INVALID); |
} |
if (!send_destroying_video_surface_done_cb_.is_null()) |