| 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 dc0eb16feb28cd9d168cd7b600fc6ff9aa9c4a82..d83e9b5e26e69234ad63ac9bedf0b87257a45bb3 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 Element*) const
|
| +int LayoutBox::pixelSnappedOffsetWidth() const
|
| {
|
| return snapSizeToPixel(offsetWidth(), location().x() + clientLeft());
|
| }
|
|
|
| -int LayoutBox::pixelSnappedOffsetHeight(const Element*) const
|
| +int LayoutBox::pixelSnappedOffsetHeight() const
|
| {
|
| return snapSizeToPixel(offsetHeight(), location().y() + clientTop());
|
| }
|
| @@ -4485,14 +4485,14 @@ LayoutRect LayoutBox::visualOverflowRect() const
|
| return unionRect(m_overflow->selfVisualOverflowRect(), m_overflow->contentsVisualOverflowRect());
|
| }
|
|
|
| -LayoutUnit LayoutBox::offsetLeft(const Element* parent) const
|
| +LayoutUnit LayoutBox::offsetLeft() const
|
| {
|
| - return adjustedPositionRelativeTo(topLeftLocation(), parent).x();
|
| + return adjustedPositionRelativeToOffsetParent(topLeftLocation()).x();
|
| }
|
|
|
| -LayoutUnit LayoutBox::offsetTop(const Element* parent) const
|
| +LayoutUnit LayoutBox::offsetTop() const
|
| {
|
| - return adjustedPositionRelativeTo(topLeftLocation(), parent).y();
|
| + return adjustedPositionRelativeToOffsetParent(topLeftLocation()).y();
|
| }
|
|
|
| LayoutPoint LayoutBox::flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint& point) const
|
|
|