From 846cdbdbf965fc50478bcc4c6436e3dc6a489f3f Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 14 Oct 2021 19:01:18 -0400 Subject: Initial commit. --- .../files/chromium-93-AXPropertyNode-private.patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 www-client/chromium/files/chromium-93-AXPropertyNode-private.patch (limited to 'www-client/chromium/files/chromium-93-AXPropertyNode-private.patch') diff --git a/www-client/chromium/files/chromium-93-AXPropertyNode-private.patch b/www-client/chromium/files/chromium-93-AXPropertyNode-private.patch new file mode 100644 index 0000000..f184af6 --- /dev/null +++ b/www-client/chromium/files/chromium-93-AXPropertyNode-private.patch @@ -0,0 +1,43 @@ +From 0cdb42df76598037785ca33eb66bdc9ac2c16fd9 Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann +Date: Sat, 5 Jun 2021 11:16:29 +0000 +Subject: [PATCH] libstdc++: make constructors public in AXPropertyNode + +Making std::allocator friend of AXPropertyNode is +useless, because std::allocator is free to delegate the task of +construction to a free function or class which is not friend of +AXPropertyNode. libstdc++ uses __gnu_cxx::new_allocator for +construction and fails if constructors of AXPropertyNode are +private. +--- + ui/accessibility/platform/inspect/ax_property_node.h | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/ui/accessibility/platform/inspect/ax_property_node.h b/ui/accessibility/platform/inspect/ax_property_node.h +index 35b8309..78bafa5 100644 +--- a/ui/accessibility/platform/inspect/ax_property_node.h ++++ b/ui/accessibility/platform/inspect/ax_property_node.h +@@ -93,7 +93,6 @@ class AX_EXPORT AXPropertyNode final { + // Returns a tree-like string representation of the node. + std::string ToTreeString(const std::string& indent = "") const; + +- private: + using iterator = std::string::const_iterator; + + explicit AXPropertyNode(iterator key_begin, +@@ -105,11 +104,10 @@ class AX_EXPORT AXPropertyNode final { + iterator value_begin, + iterator value_end); + ++ private: + // Builds a property node struct for a string of NAME(ARG1, ..., ARGN) format, + // where each ARG is a scalar value or a string of the same format. + static iterator Parse(AXPropertyNode* node, iterator begin, iterator end); +- +- friend class std::allocator; + }; + + } // namespace ui +-- +2.31.1 + -- cgit v1.2.3