Commit 2a57cc15 authored by Sarah Jochum's avatar Sarah Jochum Committed by Commit Bot

[Switch Access] Fix bug in equality check in group nodes

Relnotes: N/A
Bug: 1067811
Test: browser_tests --gtest_filter="*SwitchAccess*"
Change-Id: I68f8693716e0f16d4ed6f9b59dcab777a151a745
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2136406Reviewed-by: default avatarAnastasia Helfinstein <anastasi@google.com>
Commit-Queue: Anastasia Helfinstein <anastasi@google.com>
Cr-Commit-Position: refs/heads/master@{#756530}
parent a0003f94
......@@ -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>
......
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment