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 ebec54584303173c6badac797b30233b7cdf8fbe..6f8e73f4000ee7b313cfcdc3b64509c566b563f6 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp |
@@ -692,7 +692,7 @@ LayoutUnit LayoutInline::offsetLeft() const |
if (InlineBox* firstBox = firstLineBoxIncludingCulling()) { |
topLeft = firstBox->topLeft(); |
} |
- return adjustedPositionRelativeToOffsetParent(topLeft).x(); |
+ return adjustedPositionRelativeToUnclosedOffsetParent(topLeft).x(); |
} |
LayoutUnit LayoutInline::offsetTop() const |
@@ -701,7 +701,7 @@ LayoutUnit LayoutInline::offsetTop() const |
if (InlineBox* firstBox = firstLineBoxIncludingCulling()) { |
topLeft = firstBox->topLeft(); |
} |
- return adjustedPositionRelativeToOffsetParent(topLeft).y(); |
+ return adjustedPositionRelativeToUnclosedOffsetParent(topLeft).y(); |
} |
static LayoutUnit computeMargin(const LayoutInline* layoutObject, const Length& margin) |