blob: c98c8d77097c7a1c8a8e3b67120cf68646831889 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- ui/accessibility/ax_node.cc.orig 2025-08-26 20:49:50 UTC
+++ ui/accessibility/ax_node.cc
@@ -1547,7 +1547,7 @@ AXNode::GetExtraMacNodes() const {
return &table_info->extra_mac_nodes;
}
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
AXNode* AXNode::GetExtraAnnouncementNode(
ax::mojom::AriaNotificationPriority priority_property) const {
if (!tree_->extra_announcement_nodes()) {
@@ -1575,7 +1575,7 @@ bool AXNode::IsGenerated() const {
GetRole() == ax::mojom::Role::kColumn ||
GetRole() == ax::mojom::Role::kTableHeaderContainer;
DCHECK_EQ(is_generated_node, is_extra_mac_node_role);
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_BSD)
// On Linux and Windows, generated nodes are always children of the root, but
// not necessarily the root tree.
if (GetParent() && GetParent()->GetManager()) {
|