Index: third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
index d23ea7b897189bdde16e63f60e1348fbf4347529..49513cd520b49db62955a9c02153160731035f3e 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h |
@@ -57,6 +57,13 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
DECLARE_VIRTUAL_TRACE(); |
+ // Runs layout on layout_box_ and creates a fragment for the resulting |
+ // geometry. |
+ NGPhysicalFragment* RunOldLayout(const NGConstraintSpace&); |
+ |
+ void UpdateLayoutBox(NGPhysicalFragment* fragment, |
+ const NGConstraintSpace* constraint_space); |
+ |
private: |
// This is necessary for interop between old and new trees -- after our parent |
// positions us, it calls this function so we can store the position on the |
@@ -70,10 +77,6 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
// 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_; |