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 0edb96e7fc0429297618cac336b5e275abc8e70b..6cb2414b1cdd324ec23d10e84aea187455dab3d8 100644 |
--- a/cc/surfaces/compositor_frame_sink_support.cc |
+++ b/cc/surfaces/compositor_frame_sink_support.cc |
@@ -169,6 +169,10 @@ void CompositorFrameSinkSupport::RemoveChildFrameSink( |
child_frame_sinks_.erase(it); |
} |
+void CompositorFrameSinkSupport::ForceReclaimResources() { |
+ surface_factory_.ClearSurface(); |
+} |
+ |
void CompositorFrameSinkSupport::ReferencedSurfacesChanged( |
const LocalSurfaceId& local_surface_id, |
const std::vector<SurfaceId>* active_referenced_surfaces, |