-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Visibility Score MergeFrom() Logic
When this' score is -1 and the incoming score is > 0, the incoming score is not merged to `this`. Fixed by checking for that case, and added tests for all cases. (cherry picked from commit 0a18650) Bug: 1411063 Change-Id: I9dd381b4237698b020f87f5038f229b964115898 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4201278 Reviewed-by: Sophie Chang <sophiechang@chromium.org> Auto-Submit: Robert Ogden <robertogden@chromium.org> Commit-Queue: Robert Ogden <robertogden@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1098349} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4203570 Commit-Queue: Sophie Chang <sophiechang@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#803} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information
Robert Ogden
authored and
Chromium LUCI CQ
committed
Jan 30, 2023
1 parent
0b5c1f2
commit 14aa1b7
Showing
2 changed files
with
76 additions
and
13 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