Changeset 156816 in webkit for trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
- Timestamp:
- Oct 2, 2013, 7:26:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
r156738 r156816 352 352 repainter.repaintAfterLayout(); 353 353 354 setNeedsLayout(false);354 clearNeedsLayout(); 355 355 } 356 356 … … 365 365 child->clearOverrideSize(); 366 366 if (!relayoutChildren) 367 child->setChildNeedsLayout( true,MarkOnlyThis);367 child->setChildNeedsLayout(MarkOnlyThis); 368 368 haveFlex = true; 369 369 unsigned int flexGroup = child->style()->boxFlexGroup(); … … 426 426 for (RenderBox* child = iterator.first(); child; child = iterator.next()) { 427 427 if (relayoutChildren) 428 child->setChildNeedsLayout( true,MarkOnlyThis);428 child->setChildNeedsLayout(MarkOnlyThis); 429 429 430 430 if (child->isOutOfFlowPositioned()) … … 490 490 childLayer->setStaticBlockPosition(yPos); 491 491 if (child->style()->hasStaticBlockPosition(style()->isHorizontalWritingMode())) 492 child->setChildNeedsLayout( true,MarkOnlyThis);492 child->setChildNeedsLayout(MarkOnlyThis); 493 493 } 494 494 continue; … … 510 510 child->updateLogicalHeight(); 511 511 if (oldChildHeight != child->height()) 512 child->setChildNeedsLayout( true,MarkOnlyThis);512 child->setChildNeedsLayout(MarkOnlyThis); 513 513 514 514 if (!child->needsLayout()) … … 728 728 // Make sure we relayout children if we need it. 729 729 if (!haveLineClamp && relayoutChildren) 730 child->setChildNeedsLayout( true,MarkOnlyThis);730 child->setChildNeedsLayout(MarkOnlyThis); 731 731 732 732 if (child->isOutOfFlowPositioned()) { … … 737 737 childLayer->setStaticBlockPosition(height()); 738 738 if (child->style()->hasStaticBlockPosition(style()->isHorizontalWritingMode())) 739 child->setChildNeedsLayout( true,MarkOnlyThis);739 child->setChildNeedsLayout(MarkOnlyThis); 740 740 } 741 741 continue; … … 956 956 if (relayoutChildren || (child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent())) 957 957 || (child->style()->height().isAuto() && child->isRenderBlock())) { 958 child->setChildNeedsLayout( true,MarkOnlyThis);958 child->setChildNeedsLayout(MarkOnlyThis); 959 959 960 960 // Dirty all the positioned objects. … … 989 989 continue; 990 990 991 child->setChildNeedsLayout( true,MarkOnlyThis);991 child->setChildNeedsLayout(MarkOnlyThis); 992 992 child->setOverrideLogicalContentHeight(newHeight - child->borderAndPaddingHeight()); 993 993 child->layoutIfNeeded(); … … 1056 1056 if ((child->isReplaced() && (child->style()->width().isPercent() || child->style()->height().isPercent())) 1057 1057 || (child->style()->height().isAuto() && child->isRenderBlock())) { 1058 child->setChildNeedsLayout( true);1058 child->setChildNeedsLayout(); 1059 1059 1060 1060 if (child->isRenderBlock()) {
Note:
See TracChangeset
for help on using the changeset viewer.