| 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 6829117f79e72641657f8540d9917a941907e1c3..6372bacf11b1c6964b138c93b387152ee39aba21 100644
|
| --- a/cc/surfaces/compositor_frame_sink_support.cc
|
| +++ b/cc/surfaces/compositor_frame_sink_support.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include <algorithm>
|
| #include <utility>
|
| -#include <vector>
|
|
|
| #include "cc/output/compositor_frame.h"
|
| #include "cc/scheduler/begin_frame_source.h"
|
| @@ -151,6 +150,11 @@ void CompositorFrameSinkSupport::ForceReclaimResources() {
|
| surface_factory_.ClearSurface();
|
| }
|
|
|
| +void CompositorFrameSinkSupport::ClaimTemporaryReference(
|
| + const SurfaceId& surface_id) {
|
| + surface_manager_->AssignTemporaryReference(surface_id, frame_sink_id_);
|
| +}
|
| +
|
| void CompositorFrameSinkSupport::ReferencedSurfacesChanged(
|
| const LocalSurfaceId& local_surface_id,
|
| const std::vector<SurfaceId>* active_referenced_surfaces,
|
|
|