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 54c5a9a6563808a52c25179209eccea14b6ddf22..adadd026995688b1a2ae16e1991ddae66140df09 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -928,6 +928,13 @@ void GpuProcessHost::SendOutstandingReplies() { |
create_command_buffer_requests_.pop(); |
callback.Run(CREATE_COMMAND_BUFFER_FAILED_AND_CHANNEL_LOST); |
} |
+ |
+ while (!create_gpu_memory_buffer_requests_.empty()) { |
+ CreateGpuMemoryBufferCallback callback = |
+ create_gpu_memory_buffer_requests_.front(); |
+ create_gpu_memory_buffer_requests_.pop(); |
+ callback.Run(gfx::GpuMemoryBufferHandle()); |
+ } |
} |
void GpuProcessHost::BlockLiveOffscreenContexts() { |