[Instant Start] Create TabAttributeCache for single tab card.
This CL fixes the issue of "Tab title is missing on the single Tab when Instant Start is enabled". When missing the creation of TabAttributeCache, SingleTabSwitcherCoordinator won't have a TabModelSelectorTabObserver, thus will miss the TabModelSelectorTabObserver#onTitleUpdated(Tab tab) etc. events. Bug: 1097789 Change-Id: If7037519e4f48292828c390a89cc4cb79fd966a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363715 Commit-Queue: Xi Han <hanxi@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#799606}
Showing
Please register or sign in to comment