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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 68fb6a44997e94f2d821458a3bd1daae81a876d5..a0c0e3109c98d948eb7bcd2840c3165eb1ca9508 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -412,17 +412,12 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
base::TimeDelta interval);
// Called by the view in response to OnSwapCompositorFrame.
- static void SendSwapCompositorFrameAck(
+ static void SendReclaimCompositorResources(
int32_t route_id,
uint32_t output_surface_id,
int renderer_host_id,
- const cc::CompositorFrameAck& ack);
-
- // Called by the view to return resources to the compositor.
- static void SendReclaimCompositorResources(int32_t route_id,
- uint32_t output_surface_id,
- int renderer_host_id,
- const cc::CompositorFrameAck& ack);
+ bool is_swap_ack,
+ const cc::ReturnedResourceArray& resources);
void set_allow_privileged_mouse_lock(bool allow) {
allow_privileged_mouse_lock_ = allow;
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698