-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
M90: Speculative fix for crash in AppsGridView::EndDrag / MoveItemInList
See bug for detailed analysis. I suspect an item is being moved off the end of the AppListItemList. This could happen if PagedViewStructure is slightly out-of-sync with the AppListItemList. I suspect some combination of page breaks, sync updates, and page flip during dragging causes the crash, but I could not repro locally. I added a test that triggers a crash with a similar stack (without my fix to AppListItemList::MoveItem). Also, added some more DVLOG logging and updated some CHECK/DCHECK. (cherry picked from commit 7305175) Bug: 1166011 Test: Added to ash_unittests and app_list_unittests Change-Id: Ie4c2c2e3694bc075d69976a1d92ba63e0804e367 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2733005 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by: Alex Newcomer <newcomer@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#859924} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2742995 Auto-Submit: James Cook <jamescook@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/4430@{#238} Cr-Branched-From: e5ce7dc-refs/heads/master@{#857950}
- Loading branch information
James Cook
authored and
Chromium LUCI CQ
committed
Mar 8, 2021
1 parent
f1f1e08
commit ff46679
Showing
8 changed files
with
97 additions
and
20 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
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
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
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