| Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
|
| index 15b30a0a7aefe397edf9db6c10968aee625de09b..d944bc893eaacf88fe76e8ddd25fc45b26104a35 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
|
| @@ -348,9 +348,14 @@ class CORE_EXPORT LayoutBlockFlow : public LayoutBlock {
|
|
|
| FloatingObject* insertFloatingObject(LayoutBox&);
|
|
|
| - // Called from lineWidth, to position the floats added in the last line.
|
| + // Position all floats that have not yet been positioned.
|
| + //
|
| + // |logicalTop| is the minimum logical top for the floats. The final logical
|
| + // top of the floats will also be affected by clearance and space available
|
| + // after having positioned earlier floats.
|
| + //
|
| // Returns true if and only if it has positioned any floats.
|
| - bool positionNewFloats(LineWidth* = nullptr);
|
| + bool positionNewFloats(LayoutUnit logicalTop, LineWidth* = nullptr);
|
|
|
| LayoutUnit nextFloatLogicalBottomBelow(LayoutUnit) const;
|
| LayoutUnit nextFloatLogicalBottomBelowForBlock(LayoutUnit) const;
|
|
|