Skip to content

Commit

Permalink
[Switch Access] Fix bug in equality check in group nodes
Browse files Browse the repository at this point in the history
Relnotes: N/A
Bug: 1067811
Test: browser_tests --gtest_filter="*SwitchAccess*"
Change-Id: I68f8693716e0f16d4ed6f9b59dcab777a151a745
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136406
Reviewed-by: Anastasia Helfinstein <anastasi@google.com>
Commit-Queue: Anastasia Helfinstein <anastasi@google.com>
Cr-Commit-Position: refs/heads/master@{#756530}
  • Loading branch information
smjochum authored and Commit Bot committed Apr 4, 2020
1 parent a0003f9 commit 2a57cc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,7 @@ Sanjoy Pal <ncj674@motorola.com>
Sanjoy Pal <sanjoy.pal@samsung.com>
Sanne Wouda <sanne.wouda@gmail.com>
Santosh Mahto <samahto@cisco.com>
Sarah Jochum <smjochum@gmail.com>
Sarath Singapati <s.singapati@gmail.com>
Sarath Singapati <s.singapati@samsung.com>
Sarath Singapati <sarath.singapati@huawei.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class GroupNode extends SAChildNode {
return false;
}
for (let i = 0; i < this.children_.length; i++) {
if (other.children_[i].equals(this.children_[i])) {
if (!other.children_[i].equals(this.children_[i])) {
return false;
}
}
Expand Down

0 comments on commit 2a57cc1

Please sign in to comment.