| Index: third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| index 9b09e5bd8c2955ca1e6be904443723fbba41bc63..c7c84ae991d7753fcfea20867cb2792d12c82b2e 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| @@ -449,7 +449,7 @@ LayoutUnit LayoutFlexibleBox::computeMainAxisExtentForChild(const LayoutBox& chi
|
| // computeLogicalWidth always re-computes the intrinsic widths. However, when our logical width is auto,
|
| // we can just use our cached value. So let's do that here. (Compare code in LayoutBlock::computePreferredLogicalWidths)
|
| LayoutUnit borderAndPadding = child.borderAndPaddingLogicalWidth();
|
| - if (styleRef().logicalWidth().isAuto()) {
|
| + if (child.styleRef().logicalWidth().isAuto()) {
|
| if (size.type() == MinContent)
|
| return child.minPreferredLogicalWidth() - borderAndPadding;
|
| if (size.type() == MaxContent)
|
|
|