| 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 f589bc10dd9940647f92964093bf09969095937d..7b77eb2d2cf1dcccbd5d295e93b6e900bd6f3ae4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFlexibleBox.cpp
|
| @@ -109,13 +109,7 @@ void LayoutFlexibleBox::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidt
|
|
|
| LayoutUnit minPreferredLogicalWidth;
|
| LayoutUnit maxPreferredLogicalWidth;
|
| - bool hasOrthogonalWritingMode = child->isHorizontalWritingMode() != isHorizontalWritingMode();
|
| - if (hasOrthogonalWritingMode) {
|
| - minPreferredLogicalWidth = maxPreferredLogicalWidth = child->computeLogicalHeightWithoutLayout();
|
| - } else {
|
| - minPreferredLogicalWidth = child->minPreferredLogicalWidth();
|
| - maxPreferredLogicalWidth = child->maxPreferredLogicalWidth();
|
| - }
|
| + computeChildPreferredLogicalWidths(*child, minPreferredLogicalWidth, maxPreferredLogicalWidth);
|
| ASSERT(minPreferredLogicalWidth >= 0);
|
| ASSERT(maxPreferredLogicalWidth >= 0);
|
| minPreferredLogicalWidth += margin;
|
|
|