| 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 5a0eaf34a18a7d7105d53cd90dec1d3156a299d2..7417d7a38870478a867bcb3119877cd8372e6f90 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4240,12 +4240,12 @@ LayoutRect LayoutBox::visualOverflowRectForPropagation(const ComputedStyle& pare
|
| // If the writing modes of the child and parent match, then we don't have to
|
| // do anything fancy. Just return the result.
|
| LayoutRect rect = visualOverflowRect();
|
| - if (parentStyle.writingMode() == style()->writingMode())
|
| + if (parentStyle.getWritingMode() == style()->getWritingMode())
|
| return rect;
|
|
|
| // We are putting ourselves into our parent's coordinate space. If there is a flipped block mismatch
|
| // in a particular axis, then we have to flip the rect along that axis.
|
| - if (style()->writingMode() == RightToLeftWritingMode || parentStyle.writingMode() == RightToLeftWritingMode)
|
| + if (style()->getWritingMode() == RightToLeftWritingMode || parentStyle.getWritingMode() == RightToLeftWritingMode)
|
| rect.setX(size().width() - rect.maxX());
|
|
|
| return rect;
|
| @@ -4290,12 +4290,12 @@ LayoutRect LayoutBox::layoutOverflowRectForPropagation(const ComputedStyle& pare
|
|
|
| // If the writing modes of the child and parent match, then we don't have to
|
| // do anything fancy. Just return the result.
|
| - if (parentStyle.writingMode() == style()->writingMode())
|
| + if (parentStyle.getWritingMode() == style()->getWritingMode())
|
| return rect;
|
|
|
| // We are putting ourselves into our parent's coordinate space. If there is a flipped block mismatch
|
| // in a particular axis, then we have to flip the rect along that axis.
|
| - if (style()->writingMode() == RightToLeftWritingMode || parentStyle.writingMode() == RightToLeftWritingMode)
|
| + if (style()->getWritingMode() == RightToLeftWritingMode || parentStyle.getWritingMode() == RightToLeftWritingMode)
|
| rect.setX(size().width() - rect.maxX());
|
|
|
| return rect;
|
|
|