| Index: third_party/WebKit/Source/core/layout/ng/ng_box.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_box.h b/third_party/WebKit/Source/core/layout/ng/ng_box.h
|
| index c7fe209635792de084ca0d959eeaf56e4c09370a..a402ad24c2b1cde35a50da3d5d4b05ffe32b9f1e 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_box.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_box.h
|
| @@ -56,6 +56,14 @@ class CORE_EXPORT NGBox final : public GarbageCollectedFinalized<NGBox> {
|
|
|
| bool CanUseNewLayout();
|
|
|
| + // After we run the layout algorithm, this function copies back the geometry
|
| + // data to the layout box.
|
| + void CopyFragmentDataToLayoutBox(const NGConstraintSpace&);
|
| +
|
| + // Runs layout on layout_box_ and creates a fragment for the resulting
|
| + // geometry.
|
| + NGPhysicalFragment* RunOldLayout(const NGConstraintSpace&);
|
| +
|
| // We can either wrap a layout_box_ or a style_/next_sibling_/first_child_
|
| // combination.
|
| LayoutBox* layout_box_;
|
|
|