Chromium Code Reviews
DescriptionFix expected PlacementList sort order.
We sort the displays IDs list by the least significant 8 bits of the IDs.
This list is used to fill in the placement list, however,
DisplayLayout::Validate() expects the list to be sorted using the full
display IDs. This resulted in false positives where we skip applying valid
layouts.
We also should never persist an invalid layout.
BUG=700020
TEST=manually, +test.
Review-Url: https://codereview.chromium.org/2814843007
Cr-Commit-Position: refs/heads/master@{#464654}
Committed: https://chromium.googlesource.com/chromium/src/+/d3d4ea43bd26fafa27ae723b7db6ada167034248
Patch Set 1 #
Total comments: 1
Patch Set 2 : Don't register invalid layouts #
Total comments: 1
Messages
Total messages: 26 (20 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||