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 7e10a835b677c9ddb4dc467b350efa22a3b626aa..99c2464b1600df8f6357b5578811054352ae1be6 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, |