Fix crash in SkiaOutputSurfaceImplOnGpu::ScheduleOverlays() on macOS
I think the problem is because the context lost or there is no gl context. So GetOrCreateRenderPassOverlayBacking() cannot create a shared image. Fix the problem by calling MakeCurrent() and check the return value of GetOrCreateRenderPassOverlayBacking() Bug: 1133797 Change-Id: Ibbb92c0c77a63903e2740eee099951b95b930053 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2457468Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#814845}
Showing
Please register or sign in to comment