Fix crash in the ThreadedIconLoader.
Crash reports show that this was happening in the SkBitmap's copy constructor, which likely means that the Resize image operation sometimes returns a null icon. This CL adds an extra check. Bug: 1003293 Change-Id: If26c5a9a2690a6d0124dc2b7fcaaa487681dafce Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1805654 Auto-Submit: Rayan Kanso <rayankans@chromium.org> Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Nate Chapin <japhet@chromium.org> Cr-Commit-Position: refs/heads/master@{#701186}
Showing
Please register or sign in to comment