Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1852)

Unified Diff: Source/modules/accessibility/AXTableColumn.cpp

Issue 991863003: Avoid unnecessary copies of AccessibilityChildrenVector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/accessibility/AXTable.cpp ('k') | Source/modules/accessibility/AXTableRow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXTableColumn.cpp
diff --git a/Source/modules/accessibility/AXTableColumn.cpp b/Source/modules/accessibility/AXTableColumn.cpp
index 6622571475fbe5a6b3d862cfcd0214150f6ed296..7b9b9ad3e9ac7427467dc3c43b18eeff1559b5c2 100644
--- a/Source/modules/accessibility/AXTableColumn.cpp
+++ b/Source/modules/accessibility/AXTableColumn.cpp
@@ -79,7 +79,7 @@ void AXTableColumn::headerObjectsForColumn(AccessibilityChildrenVector& headers)
return;
if (toAXTable(m_parent)->isAriaTable()) {
- AccessibilityChildrenVector columnChildren = children();
+ const AccessibilityChildrenVector& columnChildren = children();
unsigned childrenCount = columnChildren.size();
for (unsigned i = 0; i < childrenCount; i++) {
AXObject* cell = columnChildren[i].get();
« no previous file with comments | « Source/modules/accessibility/AXTable.cpp ('k') | Source/modules/accessibility/AXTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698