| Index: third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
|
| diff --git a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
|
| index eaecb754d02acf6d8c608b91fb57defe0f661aa5..6c4137715e9ef7e7a27e9959ab9100e5ede1d54f 100644
|
| --- a/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
|
| +++ b/third_party/WebKit/Source/core/layout/ng/ng_length_utils.cc
|
| @@ -43,6 +43,8 @@ LayoutUnit ResolveInlineLength(
|
| LengthResolveType type) {
|
| DCHECK(!length.isMaxSizeNone());
|
| DCHECK_GE(constraint_space.AvailableSize().inline_size, LayoutUnit());
|
| + DCHECK_GE(constraint_space.PercentageResolutionSize().inline_size,
|
| + LayoutUnit());
|
|
|
| if (type == LengthResolveType::kMinSize && length.isAuto())
|
| return LayoutUnit();
|
|
|