Changeset 156816 in webkit for trunk/Source/WebCore/rendering/RenderTableSection.cpp
- Timestamp:
- Oct 2, 2013, 7:26:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderTableSection.cpp
r156738 r156816 327 327 cell->clearIntrinsicPadding(); 328 328 cell->clearOverrideSize(); 329 cell->setChildNeedsLayout( true,MarkOnlyThis);329 cell->setChildNeedsLayout(MarkOnlyThis); 330 330 cell->layoutIfNeeded(); 331 331 } … … 407 407 408 408 statePusher.pop(); 409 setNeedsLayout(false);409 clearNeedsLayout(); 410 410 } 411 411 … … 567 567 // Tables with no sections do not flex. 568 568 if (!o->isTable() || toRenderTable(o)->hasSections()) { 569 o->setNeedsLayout( true,MarkOnlyThis);569 o->setNeedsLayout(MarkOnlyThis); 570 570 cellChildrenFlex = true; 571 571 } … … 583 583 if (box->normalChildNeedsLayout()) 584 584 break; 585 box->setChildNeedsLayout( true,MarkOnlyThis);585 box->setChildNeedsLayout(MarkOnlyThis); 586 586 box = box->containingBlock(); 587 587 ASSERT(box); … … 594 594 595 595 if (cellChildrenFlex) { 596 cell->setChildNeedsLayout( true,MarkOnlyThis);596 cell->setChildNeedsLayout(MarkOnlyThis); 597 597 // Alignment within a cell is based off the calculated 598 598 // height, which becomes irrelevant once the cell has … … 616 616 617 617 if (!cell->needsLayout() && view().layoutState()->pageLogicalHeight() && view().layoutState()->pageLogicalOffset(cell, cell->logicalTop()) != cell->pageLogicalOffset()) 618 cell->setChildNeedsLayout( true,MarkOnlyThis);618 cell->setChildNeedsLayout(MarkOnlyThis); 619 619 620 620 cell->layoutIfNeeded(); … … 1239 1239 1240 1240 m_grid.shrinkToFit(); 1241 setNeedsLayout( true);1241 setNeedsLayout(); 1242 1242 } 1243 1243
Note:
See TracChangeset
for help on using the changeset viewer.