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 29ac63e34b3c6db1246ea0bf569a5fd6eea5d8c6..51fc60aa5c231c0444ef29abd8ef5606025cb027 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 |
@@ -35,6 +35,8 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
~NGBlockNode() override; |
bool Layout(NGConstraintSpace*, NGFragment**) override; |
+ void LayoutSync(NGConstraintSpace*, NGFragment**); |
+ |
NGBlockNode* NextSibling() override; |
// Computes the value of min-content and max-content for this box. |
@@ -47,6 +49,7 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
// often enough that it returns true before calling |
// ComputeOrSynthesizeMinAndMaxContentSizes) |
bool ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*); |
+ MinAndMaxContentSizes ComputeMinAndMaxContentSizesSync(); |
const ComputedStyle* Style() const; |
ComputedStyle* MutableStyle(); |