Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 21c983a3f5330bd03098f6fa06503f5c26b4082a..6f7e90943879a6270785fcf4a0d8789e6d033b11 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -1541,10 +1541,12 @@ void RenderWidgetHostViewAura::UnusedResourcesAreAvailable() { |
void RenderWidgetHostViewAura::SendReturnedDelegatedResources( |
uint32 output_surface_id) { |
+ DCHECK(resource_collection_); |
danakj
2014/02/04 18:15:31
Oh you already did this :) Awesome.
|
+ |
cc::CompositorFrameAck ack; |
- if (resource_collection_) |
- resource_collection_->TakeUnusedResourcesForChildCompositor(&ack.resources); |
+ resource_collection_->TakeUnusedResourcesForChildCompositor(&ack.resources); |
DCHECK(!ack.resources.empty()); |
+ |
RenderWidgetHostImpl::SendReclaimCompositorResources( |
host_->GetRoutingID(), |
output_surface_id, |