Fix crash in SkiaRenderer::BindFramebufferToOutputSurfac()
Remove the CHECK(root_canvas_) in BindFramebufferToOutputSurfac() which causes crashes. However we cannot figure out why root_canvas_ is nullptr for those crashes. We just handle nullptr root_canvas_, and MarkContextLost() if some error happens later on the gpu thread. Bug: 1092911 Change-Id: I4a0f456aa96b4c5a61e19300effbe6e789a53a47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261400 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#781670}
Showing
Please register or sign in to comment