| 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 8d111bb57d37d7b494d39004698e14fae44abb4b..b4ca83c4e2ab48d9177e6e3190a90a7c66ba20f8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -239,8 +239,9 @@ void LayoutBlock::styleDidChange(StyleDifference diff,
|
| // width or height of the block to end up being the same. We keep track of
|
| // this change so in layoutBlock, we can know to set relayoutChildren=true.
|
| m_widthAvailableToChildrenChanged |=
|
| - oldStyle && diff.needsFullLayout() && needsLayout() &&
|
| - borderOrPaddingLogicalDimensionChanged(*oldStyle, newStyle, LogicalWidth);
|
| + oldStyle && needsLayout() &&
|
| + (diff.needsFullLayout() || borderOrPaddingLogicalDimensionChanged(
|
| + *oldStyle, newStyle, LogicalWidth));
|
| m_heightAvailableToChildrenChanged |= oldStyle && diff.needsFullLayout() &&
|
| needsLayout() &&
|
| borderOrPaddingLogicalDimensionChanged(
|
|
|