Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax constraint on DomCode in accelerator_map
- Previously the map DCHECK'd when registering an accelerator with a DomCode - Accelerators created from KeyEvents include the DomCode and that is required during the lookup path - Change the map to set the DomCode to NONE when storing Bug: 1174326 Test: ash_unittests --gtest_filter="Accelerator*" Change-Id: I9a0b4dea57fa16b138c888cbaf6aa4c52c2e278a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2880646 Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#880626}
- Loading branch information
Zentaro Kavanagh
authored and
Chromium LUCI CQ
committed
May 7, 2021
1 parent
eafb28e
commit 29fd367
Showing
4 changed files
with
79 additions
and
7 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