Skip to content
Commit 67353061 authored by Brandon Wylie's avatar Brandon Wylie Committed by Chromium LUCI CQ
Browse files

[bookmarks] Skip null children when fetching images for folders

It's possible for children to be removed while folder images are being
fetched. It's possible to display folders and their children
side-by-side in the root bookmarks screen. When this happens and one
of the children being queried returns null, the image fetcher crashes.
Adding code to check for null when querying folder children and
skipping them.

Bug: 1446932
Change-Id: I2aeb8e93274e2f02c215fd24047adfa216e67eff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4552418


Commit-Queue: Brandon Wylie <wylieb@chromium.org>
Reviewed-by: default avatarSky Malice <skym@chromium.org>
Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1147338}
parent 173041d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment