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

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

Issue 2147873003: cc: Dedup IPCs to return resources to client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 00ebb22346423634e5aef002174b623d0f03de42..70189db0d0288841ebea57adc0bc8a6d07844a45 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2014,19 +2014,6 @@ void RenderWidgetHostImpl::SendSwapCompositorFrameAck(
route_id, output_surface_id, ack));
}
-// static
-void RenderWidgetHostImpl::SendReclaimCompositorResources(
- int32_t route_id,
- uint32_t output_surface_id,
- int renderer_host_id,
- const cc::CompositorFrameAck& ack) {
- RenderProcessHost* host = RenderProcessHost::FromID(renderer_host_id);
- if (!host)
- return;
- host->Send(
- new ViewMsg_ReclaimCompositorResources(route_id, output_surface_id, ack));
-}
-
void RenderWidgetHostImpl::DelayedAutoResized() {
gfx::Size new_size = new_auto_size_;
// Clear the new_auto_size_ since the empty value is used as a flag to

Powered by Google App Engine
This is Rietveld 408576698