viz: Fix frame eviction logic with --enable-viz.
The FrameEvictionManager expects a response from DelegatedFrameHost::EvictDelegatedFrame() otherwise it will DCHECK and crash. Implement the correct logic in DelegatedFrameHost. There is no CompositorFrameSinkSupport to clear, but we clear the SurfaceLayer which will drop the surface reference to the evicted frame. Bug: 777881 Change-Id: Id6725d6cdb141c668b8217419535863ecf586a17 Reviewed-on: https://chromium-review.googlesource.com/829618 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#524717}
Showing
Please register or sign in to comment