[cpp20] Fix incompatible aggregate initialization (flutter/engine#38165)

* [cpp20] Fix incompatible aggregate initialization

* Update third_party/accessibility/ax/ax_tree_update.h

Co-authored-by: Chris Bracken <chris@bracken.jp>

* Update third_party/accessibility/ax/ax_tree_update.h

Co-authored-by: Chris Bracken <chris@bracken.jp>

Co-authored-by: Chris Bracken <chris@bracken.jp>
This commit is contained in:
Casey Hillers
2022-12-12 13:09:04 -08:00
committed by GitHub
parent b5f1b4d403
commit b69be38ed4

View File

@@ -50,9 +50,6 @@ namespace ui {
// before or after an AXTreeUpdate.
template <typename AXNodeData, typename AXTreeData>
struct AXTreeUpdateBase {
AXTreeUpdateBase() = default;
~AXTreeUpdateBase() = default;
// If |has_tree_data| is true, the value of |tree_data| should be used
// to update the tree data, otherwise it should be ignored.
bool has_tree_data = false;