app_list: Handle empty url title
Continue reading suggestion chip is using the tab's navigation title as its title. However navigation title could be empty. This patch handles the empty case to use the navigation url as a fall back title, similar to what does in the recent_tabs_sub_menu_model. Bug: 956268 Test: manual Change-Id: Iae4054bcdbbb5040829283554d3d5ff085811f18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1594207Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Tao Wu <wutao@chromium.org> Cr-Commit-Position: refs/heads/master@{#656496}
Showing
Please register or sign in to comment