| 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 2dae9193d9c32f32b75eeb6aa231e20bf0b40965..7141aa0535531a5d3032592e317029b90e7d4d36 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());
|
| }
|
| @@ -4437,14 +4437,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
|
|
|