DescriptionFix the Crash in the launcher's start page (a better approach).
In Chrome OS launcher's start page, we recreate the app tile views
if we need to display different numbers of apps compared with the
previous time (e.g., install a new app or uninstall an existing app).
We need to make sure the number of the displayed apps is properly
updated. Otherwise, it might cause browser crash because of retrieving
a stale pointer in StartPageView::StartPageTilesContainer::GetTileItemView().
Also refactor related functions.
This is a better approach of https://codereview.chromium.org/2605463003/.
BUG=675150
Review-Url: https://codereview.chromium.org/2609843004
Cr-Commit-Position: refs/heads/master@{#441733}
Committed: https://chromium.googlesource.com/chromium/src/+/a1260e2951edbb3f8c0645827a3bb42a0ec7b926
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address xiyuan@'s comment. #Patch Set 3 : Rebase. #
Messages
Total messages: 13 (5 generated)
|