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

Unified Diff: cc/surfaces/compositor_frame_sink_support.cc

Issue 2811813004: Surface Synchronization: Distinguish between dependencies and references (Closed)
Patch Set: Addressed Vlad's comments 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/compositor_frame_sink_support.cc
diff --git a/cc/surfaces/compositor_frame_sink_support.cc b/cc/surfaces/compositor_frame_sink_support.cc
index 093c5b60d9469aec4fede331dbfb8dd307b3ff5a..453b0e36d7f41201baad9dcbbe78fbf071698a8c 100644
--- a/cc/surfaces/compositor_frame_sink_support.cc
+++ b/cc/surfaces/compositor_frame_sink_support.cc
@@ -60,8 +60,7 @@ CompositorFrameSinkSupport::~CompositorFrameSinkSupport() {
void CompositorFrameSinkSupport::ReferencedSurfacesChanged(
const LocalSurfaceId& local_surface_id,
- const std::vector<SurfaceId>* active_referenced_surfaces,
- const std::vector<SurfaceId>* pending_referenced_surfaces) {
+ const std::vector<SurfaceId>* active_referenced_surfaces) {
if (!surface_manager_->using_surface_references())
return;
@@ -72,8 +71,7 @@ void CompositorFrameSinkSupport::ReferencedSurfacesChanged(
// surface references includes references from both the pending and active
// frame if any.
reference_tracker_.UpdateReferences(local_surface_id,
- active_referenced_surfaces,
- pending_referenced_surfaces);
+ active_referenced_surfaces);
UpdateSurfaceReferences(last_surface_id, local_surface_id);
}

Powered by Google App Engine
This is Rietveld 408576698