With [Root]CompositorFrameSinkImpl the OnClientConnectionLost() code needs to be fixed. It notifies FrameSinkManagerImpl which in turn notifies HostFrameSinkManager over IPC. That message is unused now.
1. Can we destroy the [Root]CompositorFrameSinkImpl, including CompositorFrameSinkSupport, when the connection is lost? It's not going to be submitting anymore CompositorFrames. There is a DCHECK(capture_clients_.empty()) in the CompositorFrameSinkSupport destructor which needs some special attention.
2. Do we need an IPC back to HostFrameSinkManager. HostFrameSinkManager keeps track of if a client |has_created_compositor_frame_sink| and that could be updated. Also we could forward a message onto HostFrameSinkClient potentially to let it know something went wrong (maybe including surface invariant violation information).
Comment 1 by kylec...@chromium.org
, Feb 22 2018