Changeset 156816 in webkit for trunk/Source/WebCore/rendering/RenderBox.cpp
- Timestamp:
- Oct 2, 2013, 7:26:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderBox.cpp
r156767 r156816 284 284 repaint(); 285 285 else if (newStyle->hasOutOfFlowPosition()) 286 parent()->setChildNeedsLayout( true);286 parent()->setChildNeedsLayout(); 287 287 if (isFloating() && !isOutOfFlowPositioned() && newStyle->hasOutOfFlowPosition()) 288 288 removeFloatingOrPositionedChildFromBlockLists(); … … 312 312 if (isOutOfFlowPositioned() && newStyle->hasStaticBlockPosition(isHorizontalWritingMode()) && oldStyle->marginBefore() != newStyle->marginBefore() 313 313 && parent() && !parent()->normalChildNeedsLayout()) 314 parent()->setChildNeedsLayout( true);314 parent()->setChildNeedsLayout(); 315 315 } 316 316 … … 451 451 RenderObject* child = firstChild(); 452 452 if (!child) { 453 setNeedsLayout(false);453 clearNeedsLayout(); 454 454 return; 455 455 } … … 463 463 statePusher.pop(); 464 464 invalidateBackgroundObscurationStatus(); 465 setNeedsLayout(false);465 clearNeedsLayout(); 466 466 } 467 467 … … 1963 1963 rootBox.block().setStaticInlinePositionForChild(this, rootBox.lineTopWithLeading(), roundedLayoutUnit(box->logicalLeft())); 1964 1964 if (style()->hasStaticInlinePosition(box->isHorizontal())) 1965 setChildNeedsLayout( true,MarkOnlyThis); // Just go ahead and mark the positioned object as needing layout, so it will update its position properly.1965 setChildNeedsLayout(MarkOnlyThis); // Just go ahead and mark the positioned object as needing layout, so it will update its position properly. 1966 1966 } else { 1967 1967 // Our object was a block originally, so we make our normal flow position be … … 1971 1971 layer()->setStaticBlockPosition(box->logicalTop()); 1972 1972 if (style()->hasStaticBlockPosition(box->isHorizontal())) 1973 setChildNeedsLayout( true,MarkOnlyThis); // Just go ahead and mark the positioned object as needing layout, so it will update its position properly.1973 setChildNeedsLayout(MarkOnlyThis); // Just go ahead and mark the positioned object as needing layout, so it will update its position properly. 1974 1974 } 1975 1975
Note:
See TracChangeset
for help on using the changeset viewer.