| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 696b21414a8b80c09691709d746ae3db74e12e48..524d5ae50dfcb4010b29f7d867337e3590b0ab68 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4723,7 +4723,7 @@ void LayoutBox::clearPercentHeightDescendants()
|
| void LayoutBox::IntrinsicSizingInfo::transpose()
|
| {
|
| size = size.transposedSize();
|
| - aspectRatio = aspectRatio ? 1 / aspectRatio : 0;
|
| + aspectRatio = aspectRatio.transposedSize();
|
| std::swap(hasWidth, hasHeight);
|
| }
|
|
|
|
|