| Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
|
| index 2491d172911bb4f018adc7798eee59b740785e21..ee849bb8601aca97f0cb9ddc7706b216dacca5ba 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.h
|
| @@ -14,7 +14,12 @@ class Length;
|
| class NGConstraintSpace;
|
| struct NGBoxStrut;
|
|
|
| -enum class LengthResolveType { MinSize, MaxSize, ContentSize, MarginSize };
|
| +enum class LengthResolveType {
|
| + MinSize,
|
| + MaxSize,
|
| + ContentSize,
|
| + MarginBorderPaddingSize
|
| +};
|
|
|
| #define NGSizeIndefinite LayoutUnit(-1)
|
|
|
| @@ -47,6 +52,11 @@ CORE_EXPORT LayoutUnit computeBlockSizeForFragment(const NGConstraintSpace&,
|
| CORE_EXPORT NGBoxStrut computeMargins(const NGConstraintSpace&,
|
| const ComputedStyle&);
|
|
|
| +CORE_EXPORT NGBoxStrut computeBorders(const ComputedStyle&);
|
| +
|
| +CORE_EXPORT NGBoxStrut computePadding(const NGConstraintSpace&,
|
| + const ComputedStyle&);
|
| +
|
| } // namespace blink
|
|
|
| #endif // NGLengthUtils_h
|
|
|