Fix segment fault in gpu::ExternalVkImageSkiaRepresentation dtor
I think the crash is because the SharedContextState is released before calling the dtor. Fix the problem by holding a ref of the SharedImageContext in the backing. Bug: 1127327,1131357 Change-Id: I72667f7ff8362757533c1992636575f4d726ba18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2435325 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#811686}
Showing
Please register or sign in to comment