[PriceTracking] Price chips behave inconsistently with Start Surface
With Start Surface enabled, grid tab switcher is lazily created and resetWithListOfTabs() is only called once when we first enter the tab switcher, where addTabInfoToModel() is used for each tab instead of updateTab(), thus no price chips shown. To fix it, instead of only setting up ShoppingPersistedTabDataFetcher within updateTab(), we should also set it up within addTabInfoToModel(). Bug: 1235904 Change-Id: I28251a954d7ffd85484d53c3478e53400321a7ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3066031 Commit-Queue: Zhiyuan Cai <zhiyuancai@chromium.org> Reviewed-by:Mei Liang <meiliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#908672}
Loading
Please register or sign in to comment