| 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 e53406938f01de8026e85f94555379cd50f90422..ba32346f731b31b5ff3891bce6eaf62022cdbaef 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -4237,12 +4237,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;
|
| @@ -4287,12 +4287,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;
|
|
|