| Index: Source/core/rendering/FastTextAutosizer.cpp
|
| diff --git a/Source/core/rendering/FastTextAutosizer.cpp b/Source/core/rendering/FastTextAutosizer.cpp
|
| index 796abb8a94e2239861a7a0937fdc83948dc5676b..7ef8bc8b0c4ed546057d0fbb9d73c431dfc18065 100644
|
| --- a/Source/core/rendering/FastTextAutosizer.cpp
|
| +++ b/Source/core/rendering/FastTextAutosizer.cpp
|
| @@ -430,10 +430,10 @@ void FastTextAutosizer::inflateTable(RenderTable* table)
|
| for (RenderObject* section = table->firstChild(); section; section = section->nextSibling()) {
|
| if (!section->isTableSection())
|
| continue;
|
| - for (RenderObject* row = section->firstChild(); row; row = row->nextSibling()) {
|
| + for (RenderObject* row = toRenderTableSection(section)->firstChild(); row; row = row->nextSibling()) {
|
| if (!row->isTableRow())
|
| continue;
|
| - for (RenderObject* cell = row->firstChild(); cell; cell = cell->nextSibling()) {
|
| + for (RenderObject* cell = toRenderTableRow(row)->firstChild(); cell; cell = cell->nextSibling()) {
|
| if (!cell->isTableCell() || !cell->needsLayout())
|
| continue;
|
| RenderTableCell* renderTableCell = toRenderTableCell(cell);
|
| @@ -948,7 +948,7 @@ const RenderObject* FastTextAutosizer::findTextLeaf(const RenderObject* parent,
|
| return parent;
|
|
|
| ++depth;
|
| - const RenderObject* child = (firstOrLast == First) ? parent->firstChild() : parent->lastChild();
|
| + const RenderObject* child = (firstOrLast == First) ? parent->slowFirstChild() : parent->slowLastChild();
|
| while (child) {
|
| // Note: At this point clusters may not have been created for these blocks so we cannot rely
|
| // on m_clusters. Instead, we use a best-guess about whether the block will become a cluster.
|
|
|