[ios] Handle case in BadgeMediator when there are no badges
If there are no badges retrieved from GetInfobarBadgeItems(), then just set self.badges to nil instead of attempting to copy the vector into an array. Bug: 1016360 Change-Id: I591e48ad28232856da6e0ce695850522e37d425d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872484Reviewed-by:Peter Lee <pkl@chromium.org> Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#709742}
Showing
Please register or sign in to comment