Skip to content
Commit 6b9a0f53 authored by Zhiyuan Cai's avatar Zhiyuan Cai Committed by Chromium LUCI CQ
Browse files

[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: default avatarMei Liang <meiliang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#908672}
parent b81a1393
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