Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M115] personalization: correct loading error
On smaller window sizes, navigating back and forth from wallpaper subpage would result in an indexing error. This was due to assumptions about the timing of loading the wallpaper collection list and each individual collection. Delay assigning `this.splitCollections_` so that the observer functions run in the expected order. (cherry picked from commit c7a10c1) Bug: b:282840764 b:280467959 Test: browser_tests --gtest_filter=*WallpaperCollections* Change-Id: I7c04a3a0af4b52407d25de09a4ce5bdba0ba7ab5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4547912 Reviewed-by: Jason Thai <jasontt@chromium.org> Commit-Queue: Jeffrey Young <cowmoo@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1148193} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4594781 Cr-Commit-Position: refs/branch-heads/5790@{#470} Cr-Branched-From: 1d71a33-refs/heads/main@{#1148114}
- Loading branch information
Showing
2 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters