Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 4b65c5aaf0f02613341116bed73d50a319121ef6..33bed4caf4cd2bea80353862a06ddc66380c5009 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -15,7 +15,6 @@ |
#include "cc/ipc/cc_param_traits.h" |
#include "cc/output/begin_frame_args.h" |
#include "cc/output/compositor_frame.h" |
-#include "cc/output/compositor_frame_ack.h" |
#include "cc/resources/shared_bitmap.h" |
#include "content/common/content_export.h" |
#include "content/common/content_param_traits.h" |
@@ -803,16 +802,13 @@ IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
gfx::Rect /* rect */) |
#endif |
-// Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. |
-IPC_MESSAGE_ROUTED2(ViewMsg_SwapCompositorFrameAck, |
- uint32_t /* output_surface_id */, |
- cc::CompositorFrameAck /* ack */) |
- |
// Sent by browser to tell renderer compositor that some resources that were |
// given to the browser in a swap are not being used anymore. |
-IPC_MESSAGE_ROUTED2(ViewMsg_ReclaimCompositorResources, |
+// If this message is in response to a swap then is_swap_ack is set. |
+IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
uint32_t /* output_surface_id */, |
- cc::CompositorFrameAck /* ack */) |
+ bool /* is_swap_ack */, |
+ cc::ReturnedResourceArray /* resources */) |
// Sent by browser to give renderer compositor a new namespace ID for any |
// SurfaceSequences it has to create. |