SkiaOutputDeviceBufferQueue: fix crashes in BeginScopedWriteAccess
Base on the log, the crash is because ProduceSkia failed, so we need check it indead of assuming ProdcueSkia() will be always successfully. So the upper level can handle the failure properly. [ERROR:shared_image_backing_factory_ahardwarebuffer.cc(843)] Failed to bind egl image [ERROR:shared_image_manager.cc(219)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible mailbox. Bug: 1055511 Change-Id: Ib7e3494c36a3172efd3e6c3e66b51df771f09328 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083713Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#746107}
Showing
Please register or sign in to comment