| Index: Source/core/layout/LayoutBlockFlowLine.cpp
|
| diff --git a/Source/core/layout/LayoutBlockFlowLine.cpp b/Source/core/layout/LayoutBlockFlowLine.cpp
|
| index f50503df8f4ac7314d450abc495ec79108cc2260..e7f0d1d64b8c25ed44d9265f597a8bddb745c197 100644
|
| --- a/Source/core/layout/LayoutBlockFlowLine.cpp
|
| +++ b/Source/core/layout/LayoutBlockFlowLine.cpp
|
| @@ -1320,15 +1320,7 @@ void LayoutBlockFlow::computeInlinePreferredLogicalWidths(LayoutUnit& minLogical
|
| // Go ahead and terminate the current line as far as
|
| // minwidth is concerned.
|
| LayoutUnit childMinPreferredLogicalWidth, childMaxPreferredLogicalWidth;
|
| - if (child->isBox() && child->isHorizontalWritingMode() != isHorizontalWritingMode()) {
|
| - LayoutBox* childBox = toLayoutBox(child);
|
| - LogicalExtentComputedValues computedValues;
|
| - childBox->computeLogicalHeight(childBox->borderAndPaddingLogicalHeight(), 0, computedValues);
|
| - childMinPreferredLogicalWidth = childMaxPreferredLogicalWidth = computedValues.m_extent;
|
| - } else {
|
| - childMinPreferredLogicalWidth = child->minPreferredLogicalWidth();
|
| - childMaxPreferredLogicalWidth = child->maxPreferredLogicalWidth();
|
| - }
|
| + minMaxPreferredLogicalWidthOfChild(*child, childMinPreferredLogicalWidth, childMaxPreferredLogicalWidth);
|
| childMin += childMinPreferredLogicalWidth;
|
| childMax += childMaxPreferredLogicalWidth;
|
|
|
|
|