Index: content/common/gpu/gpu_command_buffer_stub.h |
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h |
index e499edbca564e5fdb912d247d07c30b88203a302..07a456bba03097013f4a1f27b83a94c2be7b87e3 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.h |
+++ b/content/common/gpu/gpu_command_buffer_stub.h |
@@ -77,6 +77,10 @@ class GpuCommandBufferStub |
void AcceleratedSurfaceBuffersSwapped(uint64 swap_buffers_count); |
#endif // defined(OS_MACOSX) |
+ // Called when the command buffer was destroyed, and the stub should now |
+ // unblock itself and handle pending messages. |
+ void CommandBufferWasDestroyed(); |
+ |
private: |
// Message handlers: |
void OnInitialize(base::SharedMemoryHandle ring_buffer, |