| Index: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| index 9f10ae51d040d384e469528d75cff5360f3fd769..9350529832c0d4be90d013796a33584262e1bac3 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutReplaced.cpp
|
| @@ -132,8 +132,7 @@ bool LayoutReplaced::needsPreferredWidthsRecalculation() const {
|
| // If the height is a percentage and the width is auto, then the
|
| // containingBlocks's height changing can cause this node to change it's
|
| // preferred width because it maintains aspect ratio.
|
| - return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto() &&
|
| - !hasAutoHeightOrContainingBlockWithAutoHeight();
|
| + return hasRelativeLogicalHeight() && style()->logicalWidth().isAuto();
|
| }
|
|
|
| static inline bool layoutObjectHasAspectRatio(
|
|
|