Index: Source/modules/accessibility/AXARIAGridCell.cpp |
diff --git a/Source/modules/accessibility/AXARIAGridCell.cpp b/Source/modules/accessibility/AXARIAGridCell.cpp |
index 8bb16c403d5bbaecf8d45a4d386f87899aaf0c7b..907e653b03ca6974697db6ca1e350ac540e15bcf 100644 |
--- a/Source/modules/accessibility/AXARIAGridCell.cpp |
+++ b/Source/modules/accessibility/AXARIAGridCell.cpp |
@@ -97,7 +97,7 @@ void AXARIAGridCell::rowIndexRange(pair<unsigned, unsigned>& rowRange) |
if (!columnCount) |
return; |
- AccessibilityChildrenVector siblings = parent->children(); |
+ const AccessibilityChildrenVector& siblings = parent->children(); |
unsigned childrenSize = siblings.size(); |
for (unsigned k = 0; k < childrenSize; ++k) { |
if (siblings[k].get() == this) { |
@@ -120,7 +120,7 @@ void AXARIAGridCell::columnIndexRange(pair<unsigned, unsigned>& columnRange) |
if (!parent->isTableRow() && !parent->isAXTable()) |
return; |
- AccessibilityChildrenVector siblings = parent->children(); |
+ const AccessibilityChildrenVector& siblings = parent->children(); |
unsigned childrenSize = siblings.size(); |
for (unsigned k = 0; k < childrenSize; ++k) { |
if (siblings[k].get() == this) { |