Index: chrome/common/gpu_messages_internal.h |
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h |
index 38147026634047b7fef6c6a166725d5fa95ccf98..43e5fcb28f41c6e0e1e286c09ece7be35d195d5a 100644 |
--- a/chrome/common/gpu_messages_internal.h |
+++ b/chrome/common/gpu_messages_internal.h |
@@ -59,6 +59,13 @@ IPC_MESSAGE_CONTROL3(GpuMsg_AcceleratedSurfaceBuffersSwappedACK, |
int /* renderer_id */, |
int32 /* route_id */, |
uint64 /* swap_buffers_count */) |
+ |
+// Tells the GPU process that the IOSurface of the buffer belonging to |
+// |renderer_route_id| a given id was destroyed, either by the user closing the |
+// tab hosting the surface, or by the renderer navigating to a new page. |
+IPC_MESSAGE_CONTROL2(GpuMsg_DidDestroySurface, |
Ken Russell (switch to Gerrit)
2010/12/22 23:16:44
You might want to call this DidDestroyAcceleratedS
|
+ int /* renderer_id */, |
+ int32 /* renderer_route_id */) |
#endif |
// Tells the GPU process to crash. |