Fixing all the cases that an image received can be null
We want to ensure that the ImageLayerBridge will not try and dereference a potential null skImage. Adding a check to assume it was a nullptr, even if the StaticBitmapImage was not null but pointed internally to a null. skImage. Changing how the white skbitmap is generated inside webgl to be more robust against a potential context loss. Bug: 996287 Change-Id: I2c65a34faab9f26042c1f4ccb3eca23788955dbe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1784983 Commit-Queue: Juanmi Huertas <juanmihd@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#694331}
Showing
Please register or sign in to comment