| Index: third_party/WebKit/Source/core/layout/LayoutReplaced.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.h b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
|
| index 35ac0c378ccc6f9add3cd4aa337f0290daf3ea50..492bf53c724189e1f92a42cb33d534474a8cdf2f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutReplaced.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.h
|
| @@ -52,8 +52,8 @@ public:
|
| LayoutReplaced(Element*, const LayoutSize& intrinsicSize);
|
| ~LayoutReplaced() override;
|
|
|
| - LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
|
| - LayoutUnit computeReplacedLogicalHeight() const override;
|
| + LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = ComputeActual) const override;
|
| + LayoutUnit computeReplacedLogicalHeight(LayoutUnit estimatedUsedWidth = LayoutUnit()) const override;
|
|
|
| bool hasReplacedLogicalHeight() const;
|
| LayoutRect replacedContentRect(const LayoutSize* overriddenIntrinsicSize = nullptr) const;
|
| @@ -126,6 +126,8 @@ private:
|
| void computeIntrinsicSizingInfoForReplacedContent(LayoutReplaced*, IntrinsicSizingInfo&) const;
|
| FloatSize constrainIntrinsicSizeToMinMax(const IntrinsicSizingInfo&) const;
|
|
|
| + LayoutUnit computeConstrainedLogicalWidth(ShouldComputePreferred) const;
|
| +
|
| mutable LayoutSize m_intrinsicSize;
|
| };
|
|
|
|
|