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

Unified Diff: cc/surfaces/surface.cc

Issue 2803913004: cc: Introduce embedded_surfaces in metadata for surface Ids in draw quads (Closed)
Patch Set: Fix unit test Created 3 years, 8 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.cc
diff --git a/cc/surfaces/surface.cc b/cc/surfaces/surface.cc
index 3e16c6928a05e7f2d273785305693021a121491b..3290f84bc1c1fd960e3e567394625f2e9bd74d81 100644
--- a/cc/surfaces/surface.cc
+++ b/cc/surfaces/surface.cc
@@ -216,8 +216,7 @@ void Surface::UpdateBlockingSurfaces(
base::flat_set<SurfaceId> new_blocking_surfaces;
- for (const SurfaceId& surface_id :
- current_frame.metadata.referenced_surfaces) {
+ for (const SurfaceId& surface_id : current_frame.metadata.embedded_surfaces) {
Surface* surface = factory_->manager()->GetSurfaceForId(surface_id);
// If a referenced surface does not have a corresponding active frame in the
// display compositor, then it blocks this frame.

Powered by Google App Engine
This is Rietveld 408576698