| 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 c6ecfa3ed0b82496657721ca645ce1183c8cdfc0..7e7698462e6838790c49f769b904b695a1317adf 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4719,4 +4719,11 @@ void LayoutBox::clearPercentHeightDescendants()
|
| }
|
| }
|
|
|
| +void LayoutBox::IntrinsicSizingInfo::transpose()
|
| +{
|
| + size = size.transposedSize();
|
| + aspectRatio = aspectRatio ? 1 / aspectRatio : 0;
|
| + std::swap(emptyWidth, emptyHeight);
|
| +}
|
| +
|
| } // namespace blink
|
|
|