Index: components/viz/common/hit_test/aggregated_hit_test_region.h |
diff --git a/components/viz/common/hit_test/aggregated_hit_test_region.h b/components/viz/common/hit_test/aggregated_hit_test_region.h |
index b90bfb19a6e5c46af15eccfa4f7870eb0732bbcf..ab3997aeb90aa3550d4bdadf9721fd90ae5b0859 100644 |
--- a/components/viz/common/hit_test/aggregated_hit_test_region.h |
+++ b/components/viz/common/hit_test/aggregated_hit_test_region.h |
@@ -15,7 +15,7 @@ namespace viz { |
// A AggregatedHitTestRegion element with child_count of kEndOfList indicates |
// the last element and end of the list. |
-constexpr int kEndOfList = -1; |
+constexpr int32_t kEndOfList = -1; |
// An array of AggregatedHitTestRegion elements is used to define the |
// aggregated hit-test data for the Display. |
@@ -41,7 +41,7 @@ struct AggregatedHitTestRegion { |
// The number of children including their children below this entry. |
// If this element is not matched then child_count elements can be skipped |
// to move to the next entry. |
- int child_count; |
+ int32_t child_count; |
}; |
} // namespace viz |