Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 6993043: Fix the mac hangup when force-compositing-mode is enabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698