Delete viz::FrameSinkManagerClient and cleanup.
This CL deletes viz::FrameSinkManagerClient. FrameSinkManagerImpl has a pointer to each CompositorFrameSinkSupport directly now since this is needed anyways. The FrameSinkManagerImpl::clients_ map is removed as a result. SinkAndSupport will always contain a CompositorFrameSinkSupport* while the CompositorFrameSinkSupport object exists. SinkAndSupport::sink will be non-null when FrameSinkManagerImpl owns the compositor frame sink. CompositorFrameSinkSupport::Init()/Create() are also no longer needed since SetBeginFrameSource() is no longer virtual. Remove Init() and make the constructor public. Create() is left since it's widely used for now but is marked deprecated. Also remove some old/wrong forward definitions and fix some style guide violations. Bug: 792192 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: I14f9662c9db485ce18edf1d358493648997d3648 Reviewed-on: https://chromium-review.googlesource.com/810866Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Yuri Wiitala <miu@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#522323}
Showing
Please register or sign in to comment