| 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 28bbdaccf628dc0e01f0fde43fc8137dc4ce8741..6bb5f972fc7526d71f13b9cbfefbae7db5390db8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -458,12 +458,12 @@ int LayoutBox::pixelSnappedClientHeight() const
|
| return snapSizeToPixel(clientHeight(), location().y() + clientTop());
|
| }
|
|
|
| -int LayoutBox::pixelSnappedOffsetWidth() const
|
| +int LayoutBox::pixelSnappedOffsetWidth(const Element*) const
|
| {
|
| return snapSizeToPixel(offsetWidth(), location().x() + clientLeft());
|
| }
|
|
|
| -int LayoutBox::pixelSnappedOffsetHeight() const
|
| +int LayoutBox::pixelSnappedOffsetHeight(const Element*) const
|
| {
|
| return snapSizeToPixel(offsetHeight(), location().y() + clientTop());
|
| }
|
| @@ -4458,14 +4458,14 @@ LayoutRect LayoutBox::visualOverflowRect() const
|
| return unionRect(m_overflow->selfVisualOverflowRect(), m_overflow->contentsVisualOverflowRect());
|
| }
|
|
|
| -LayoutUnit LayoutBox::offsetLeft() const
|
| +LayoutUnit LayoutBox::offsetLeft(const Element* parent) const
|
| {
|
| - return adjustedPositionRelativeToOffsetParent(topLeftLocation()).x();
|
| + return adjustedPositionRelativeTo(topLeftLocation(), parent).x();
|
| }
|
|
|
| -LayoutUnit LayoutBox::offsetTop() const
|
| +LayoutUnit LayoutBox::offsetTop(const Element* parent) const
|
| {
|
| - return adjustedPositionRelativeToOffsetParent(topLeftLocation()).y();
|
| + return adjustedPositionRelativeTo(topLeftLocation(), parent).y();
|
| }
|
|
|
| LayoutPoint LayoutBox::flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint& point) const
|
|
|