Skip to content

Commit

Permalink
3691014: Prevent unsafe narrowing: ui/accessibility, part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde committed Jun 13, 2022
1 parent 2a6804d commit fca99a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/ui/webui/accessibility_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ std::string RecursiveDumpAXPlatformNodeAsString(
}
}
str += "\n";
for (int i = 0; i < node->GetDelegate()->GetChildCount(); i++) {
for (size_t i = 0; i < node->GetDelegate()->GetChildCount(); i++) {
gfx::NativeViewAccessible child = node->GetDelegate()->ChildAtIndex(i);
const ui::AXPlatformNode* child_node =
ui::AXPlatformNode::FromNativeViewAccessible(child);
Expand Down

0 comments on commit fca99a5

Please sign in to comment.