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

Unified Diff: cc/surfaces/surface_aggregator.cc

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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: cc/surfaces/surface_aggregator.cc
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
index 7cb45a7b1fbae8cd79102a51ce74526fff2ae744..9456dd29c4be152ec529a03888e9ec1ef562af9d 100644
--- a/cc/surfaces/surface_aggregator.cc
+++ b/cc/surfaces/surface_aggregator.cc
@@ -153,9 +153,9 @@ bool SurfaceAggregator::TakeResources(Surface* surface,
return false;
int child_id = ChildIdForSurface(surface);
- provider_->ReceiveFromChild(child_id, frame_data->resource_list);
if (surface->factory())
surface->factory()->RefResources(frame_data->resource_list);
+ provider_->ReceiveFromChild(child_id, frame_data->resource_list);
typedef ResourceProvider::ResourceIdArray IdArray;
IdArray referenced_resources;

Powered by Google App Engine
This is Rietveld 408576698