| Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| index 42a76bc6d31bfe668fed3c7ff1a3ba071bd30424..6e9c19287c634e668776e67556e9db4ba1c153ba 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
| @@ -686,22 +686,22 @@ void LayoutInline::absoluteQuads(Vector<FloatQuad>& quads) const
|
| continuation->absoluteQuads(quads);
|
| }
|
|
|
| -LayoutUnit LayoutInline::offsetLeft(const Element* parent) const
|
| +LayoutUnit LayoutInline::offsetLeft() const
|
| {
|
| LayoutPoint topLeft;
|
| if (InlineBox* firstBox = firstLineBoxIncludingCulling()) {
|
| topLeft = firstBox->topLeft();
|
| }
|
| - return adjustedPositionRelativeTo(topLeft, parent).x();
|
| + return adjustedPositionRelativeToOffsetParent(topLeft).x();
|
| }
|
|
|
| -LayoutUnit LayoutInline::offsetTop(const Element* parent) const
|
| +LayoutUnit LayoutInline::offsetTop() const
|
| {
|
| LayoutPoint topLeft;
|
| if (InlineBox* firstBox = firstLineBoxIncludingCulling()) {
|
| topLeft = firstBox->topLeft();
|
| }
|
| - return adjustedPositionRelativeTo(topLeft, parent).y();
|
| + return adjustedPositionRelativeToOffsetParent(topLeft).y();
|
| }
|
|
|
| static LayoutUnit computeMargin(const LayoutInline* layoutObject, const Length& margin)
|
|
|