| 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 96508cd305d7d4c0cd6a4ab86b2e83956407ebaa..6829117f79e72641657f8540d9917a941907e1c3 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support.cc
|
| +++ b/cc/surfaces/compositor_frame_sink_support.cc
|
| @@ -158,6 +158,8 @@ void CompositorFrameSinkSupport::ReferencedSurfacesChanged(
|
| if (!surface_manager_->using_surface_references())
|
| return;
|
|
|
| + SurfaceId last_surface_id = reference_tracker_.current_surface_id();
|
| +
|
| // Populate list of surface references to add and remove based on reference
|
| // surfaces in current frame compared with the last frame. The list of
|
| // surface references includes references from both the pending and active
|
| @@ -166,7 +168,6 @@ void CompositorFrameSinkSupport::ReferencedSurfacesChanged(
|
| active_referenced_surfaces,
|
| pending_referenced_surfaces);
|
|
|
| - SurfaceId last_surface_id = reference_tracker_.current_surface_id();
|
| UpdateSurfaceReferences(last_surface_id, local_surface_id);
|
| }
|
|
|
|
|