| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 7daa88b77c873e20b2aba1437feb64eb10f7c978..f80e8858a7101d27f35beea1c2e3952f0baf374d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -134,7 +134,6 @@ LayoutBlock::LayoutBlock(ContainerNode* node)
|
| , m_widthAvailableToChildrenChanged(false)
|
| , m_hasOnlySelfCollapsingChildren(false)
|
| , m_descendantsWithFloatsMarkedForLayout(false)
|
| - , m_needsRecalcLogicalWidthAfterLayoutChildren(false)
|
| {
|
| // LayoutBlockFlow calls setChildrenInline(true).
|
| // By default, subclasses do not have inline children.
|
| @@ -2112,7 +2111,6 @@ void LayoutBlock::computeChildPreferredLogicalWidths(LayoutObject& child, Layout
|
| minPreferredLogicalWidth = maxPreferredLogicalWidth = toLayoutBox(child).logicalHeight();
|
| return;
|
| }
|
| - m_needsRecalcLogicalWidthAfterLayoutChildren = true;
|
| minPreferredLogicalWidth = maxPreferredLogicalWidth = toLayoutBox(child).computeLogicalHeightWithoutLayout();
|
| return;
|
| }
|
| @@ -2128,9 +2126,6 @@ void LayoutBlock::computeChildPreferredLogicalWidths(LayoutObject& child, Layout
|
| else if (computedInlineSize.isMinContent())
|
| maxPreferredLogicalWidth = minPreferredLogicalWidth;
|
| }
|
| -
|
| - if (child.isLayoutBlock() && toLayoutBlock(child).needsRecalcLogicalWidthAfterLayoutChildren())
|
| - m_needsRecalcLogicalWidthAfterLayoutChildren = true;
|
| }
|
|
|
| bool LayoutBlock::hasLineIfEmpty() const
|
|
|