Changeset 156876 in webkit for trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
- Timestamp:
- Oct 3, 2013, 9:04:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r156846 r156876 1274 1274 // determineStartPosition first will break fast/repaint/line-flow-with-floats-9.html. 1275 1275 if (layoutState.isFullLayout() && hasInlineChild && !selfNeedsLayout()) { 1276 setNeedsLayout( true,MarkOnlyThis); // Mark as needing a full layout to force us to repaint.1276 setNeedsLayout(MarkOnlyThis); // Mark as needing a full layout to force us to repaint. 1277 1277 if (!view().doingFullRepaint() && hasLayer()) { 1278 1278 // Because we waited until we were already inside layout to discover … … 1875 1875 1876 1876 if (relayoutChildren || box->hasRelativeDimensions()) 1877 o->setChildNeedsLayout(true,MarkOnlyThis);1877 box->setChildNeedsLayout(MarkOnlyThis); 1878 1878 1879 1879 // If relayoutChildren is set and the child has percentage padding or an embedded content box, we also need to invalidate the childs pref widths. … … 1898 1898 if (layoutState.isFullLayout() || o->selfNeedsLayout()) 1899 1899 dirtyLineBoxesForRenderer(o, layoutState.isFullLayout()); 1900 o-> setNeedsLayout(false);1900 o->clearNeedsLayout(); 1901 1901 } 1902 1902 } … … 3462 3462 setLogicalTopForChild(o, logicalTopForChild(o) + marginBeforeForChild(o) + paginationStrut); 3463 3463 if (o->isRenderBlock()) 3464 toRenderBlock(o)->setChildNeedsLayout( true,MarkOnlyThis);3464 toRenderBlock(o)->setChildNeedsLayout(MarkOnlyThis); 3465 3465 o->layoutIfNeeded(); 3466 3466 // Save the old logical top before calling removePlacedObject which will set
Note:
See TracChangeset
for help on using the changeset viewer.