| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 AXTable* parentTable = toAXTable(m_parent); | 131 AXTable* parentTable = toAXTable(m_parent); |
| 132 int numRows = parentTable->rowCount(); | 132 int numRows = parentTable->rowCount(); |
| 133 | 133 |
| 134 for (int i = 0; i < numRows; i++) { | 134 for (int i = 0; i < numRows; i++) { |
| 135 AXTableCell* cell = parentTable->cellForColumnAndRow(m_columnIndex, i); | 135 AXTableCell* cell = parentTable->cellForColumnAndRow(m_columnIndex, i); |
| 136 if (!cell) | 136 if (!cell) |
| 137 continue; | 137 continue; |
| 138 | 138 |
| 139 // make sure the last one isn't the same as this one (rowspan cells) | 139 // make sure the last one isn't the same as this one (rowspan cells) |
| 140 if (m_children.size() > 0 && m_children.last() == cell) | 140 if (m_children.size() > 0 && m_children.back() == cell) |
| 141 continue; | 141 continue; |
| 142 | 142 |
| 143 m_children.append(cell); | 143 m_children.append(cell); |
| 144 } | 144 } |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace blink | 147 } // namespace blink |
| OLD | NEW |