Commit 8fd79430 authored by Mei Liang's avatar Mei Liang Committed by Chromium LUCI CQ

Deflake TabSuggestionMessageCardTest

TabContext listens to TabObserver#didFirstVisuallyNonEmptyPaint to
invalidate the existing suggestion and fetch new suggestions. This CL
ensures #didFirstVisuallyNonEmptyPaint is being notified only once
before entering tab switcher.

Bug: 1161272
Change-Id: Ic8a2410a68b116803c9f857bb7321a6a845c5ce0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2626105Reviewed-by: default avatarWei-Yin Chen (陳威尹) <wychen@chromium.org>
Reviewed-by: default avatarYue Zhang <yuezhanggg@chromium.org>
Commit-Queue: Mei Liang <meiliang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844928}
parent 7df63f85
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment