| Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
| index f1442c963aec553a33c24d2eeed95c7e019081d0..c376a0671c96b93c052ab879570178391f073e20 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h
|
| @@ -37,16 +37,6 @@ class CORE_EXPORT NGConstraintSpace final
|
| // TODO(layout-dev): Remove once NGConstraintSpaceBuilder exists.
|
| NGConstraintSpace(NGWritingMode, NGDirection, NGLogicalSize);
|
|
|
| - // Constructs a derived constraint space that shares the exclusions of the
|
| - // input constraint space, but has a different container size, writing mode
|
| - // and direction. Sets the offset to zero. For use by layout algorithms
|
| - // to use as the basis to find layout opportunities for children.
|
| - // TODO(layout-dev): Remove once NGConstraintSpaceBuilder exists.
|
| - NGConstraintSpace(NGWritingMode,
|
| - NGDirection,
|
| - const NGConstraintSpace& other,
|
| - NGLogicalSize);
|
| -
|
| // This should live on NGBox or another layout bridge and probably take a root
|
| // NGConstraintSpace or a NGPhysicalConstraintSpace.
|
| static NGConstraintSpace* CreateFromLayoutObject(const LayoutBox&);
|
| @@ -89,6 +79,9 @@ class CORE_EXPORT NGConstraintSpace final
|
| // return the size of the layout opportunity.
|
| virtual NGLogicalSize Size() const { return size_; }
|
|
|
| + // Sets the effective size of the constraint space.
|
| + void SetSize(NGLogicalSize);
|
| +
|
| // Whether the current constraint space is for the newly established
|
| // Formatting Context.
|
| bool IsNewFormattingContext() const;
|
|
|