Fix blank card issue in Grid Tab Switcher
In getTabThumbnailWithCallback() with forceUpdate == true, cacheTabThumbnail() should be called after the callback of nativeGetTabThumbnailWithCallback(). Otherwise there is no guarantee the callback of cacheTabThumbnail() would be run after the callback of nativeGetTabThumbnailWithCallback(). Bug: 965891 Change-Id: Ia8cf42f4942d569e4b646820063460a297160d9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1629808Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#664364}
Showing
Please register or sign in to comment