Index: ui/accessibility/ax_tree_update.h |
diff --git a/ui/accessibility/ax_tree_update.h b/ui/accessibility/ax_tree_update.h |
index c7d272fe10f2495f1df41ee89fad3bd32014929f..662bdfa88db983c68c148e8602d6346c10c0b92e 100644 |
--- a/ui/accessibility/ax_tree_update.h |
+++ b/ui/accessibility/ax_tree_update.h |
@@ -5,6 +5,9 @@ |
#ifndef UI_ACCESSIBILITY_AX_TREE_UPDATE_H_ |
#define UI_ACCESSIBILITY_AX_TREE_UPDATE_H_ |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <string> |
#include <vector> |
@@ -95,7 +98,7 @@ std::string AXTreeUpdateBase<AXNodeData, AXTreeData>::ToString() const { |
// to the rest of the tree for context, so we have to try to show the |
// relative indentation of child nodes in this update relative to their |
// parents. |
- base::hash_map<int32, int> id_to_indentation; |
+ base::hash_map<int32_t, int> id_to_indentation; |
for (size_t i = 0; i < nodes.size(); ++i) { |
int indent = id_to_indentation[nodes[i].id]; |
result += std::string(2 * indent, ' '); |