viz: Do not use refptr for ContextProvider inside GLRendererCopier
In viz, the display compositor owns the context provider, and as the display compositor is getting destroyed, the context provider should be destroyed at the same time. Objects created by the GLRendererCopier has been the only ones keeping the context provider alive longer than the display compositor. This change will fail copy requests when the display compositor is getting destroyed. Bug: 1096487 Change-Id: I3cedd70dff42ed7ef9f946ec4b34017d3560df7f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2253159 Commit-Queue: weiliangc <weiliangc@chromium.org> Reviewed-by:Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#802424}
Showing
This diff is collapsed.
Please register or sign in to comment