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

Side by Side Diff: Source/core/accessibility/AXARIAGrid.cpp

Issue 150653006: Remove the Vector::append overload that takes a Vector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/accessibility/AXTable.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 columnCount = rowCellCount; 67 columnCount = rowCellCount;
68 68
69 row->setRowIndex((int)m_rows.size()); 69 row->setRowIndex((int)m_rows.size());
70 m_rows.append(row); 70 m_rows.append(row);
71 71
72 // Try adding the row if it's not ignoring accessibility, 72 // Try adding the row if it's not ignoring accessibility,
73 // otherwise add its children (the cells) as the grid's children. 73 // otherwise add its children (the cells) as the grid's children.
74 if (!row->accessibilityIsIgnored()) 74 if (!row->accessibilityIsIgnored())
75 m_children.append(row); 75 m_children.append(row);
76 else 76 else
77 m_children.append(row->children()); 77 m_children.appendVector(row->children());
78 78
79 appendedRows.add(row); 79 appendedRows.add(row);
80 return true; 80 return true;
81 } 81 }
82 82
83 void AXARIAGrid::addChildren() 83 void AXARIAGrid::addChildren()
84 { 84 {
85 ASSERT(!m_haveChildren); 85 ASSERT(!m_haveChildren);
86 86
87 if (!isAXTable()) { 87 if (!isAXTable()) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 if (!column->accessibilityIsIgnored()) 124 if (!column->accessibilityIsIgnored())
125 m_children.append(column); 125 m_children.append(column);
126 } 126 }
127 127
128 AXObject* headerContainerObject = headerContainer(); 128 AXObject* headerContainerObject = headerContainer();
129 if (headerContainerObject && !headerContainerObject->accessibilityIsIgnored( )) 129 if (headerContainerObject && !headerContainerObject->accessibilityIsIgnored( ))
130 m_children.append(headerContainerObject); 130 m_children.append(headerContainerObject);
131 } 131 }
132 132
133 } // namespace WebCore 133 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698