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 088fdaf80aed05eec1d6d22ccd2a8faf9721fd28..28d3574fcdc9821bbe993f2b445f5ab6a63c4334 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 |
@@ -38,16 +38,10 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode { |
LayoutObject* GetLayoutObject() override; |
// Computes the value of min-content and max-content for this box. |
- // The return value has the same meaning as for Layout. |
// If the underlying layout algorithm returns NotImplemented from |
// ComputeMinAndMaxContentSizes, this function will synthesize these sizes |
// using Layout with special constraint spaces. |
- // It is not legal to interleave a pending Layout() with a pending |
- // ComputeOrSynthesizeMinAndMaxContentSizes (i.e. you have to call Layout |
- // often enough that it returns true before calling |
- // ComputeOrSynthesizeMinAndMaxContentSizes) |
- bool ComputeMinAndMaxContentSizes(MinAndMaxContentSizes*); |
- MinAndMaxContentSizes ComputeMinAndMaxContentSizesSync(); |
+ MinAndMaxContentSizes ComputeMinAndMaxContentSizes(); |
const ComputedStyle* Style() const; |
ComputedStyle* MutableStyle(); |