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

Unified Diff: cc/surfaces/surface_aggregator.cc

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests Created 4 years, 2 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: cc/surfaces/surface_aggregator.cc
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
index e7a955a8b5bd2f94a9b1551feb22a30b920bf671..cf175ffff64419ca412b214445e6fcb57d680a6e 100644
--- a/cc/surfaces/surface_aggregator.cc
+++ b/cc/surfaces/surface_aggregator.cc
@@ -685,8 +685,10 @@ gfx::Rect SurfaceAggregator::PrewalkTree(const SurfaceId& surface_id,
}
CHECK(debug_weak_this.get());
- if (surface->factory())
- surface->factory()->WillDrawSurface(surface->surface_id(), damage_rect);
+ if (surface->factory()) {
+ surface->factory()->WillDrawSurface(surface->surface_id().local_frame_id(),
+ damage_rect);
+ }
CHECK(debug_weak_this.get());
for (const auto& render_pass : frame_data->render_pass_list) {

Powered by Google App Engine
This is Rietveld 408576698