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 9137ecf1dc9429612d281307f6f2dbf45e1b35a7..c2e009f3d529dce50640f87fd93f79dbef857306 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -4436,12 +4436,12 @@ LayoutRect LayoutBox::visualOverflowRect() const |
LayoutUnit LayoutBox::offsetLeft() const |
{ |
- return adjustedPositionRelativeToOffsetParent(topLeftLocation()).x(); |
+ return adjustedPositionRelativeToUnclosedOffsetParent(topLeftLocation()).x(); |
} |
LayoutUnit LayoutBox::offsetTop() const |
{ |
- return adjustedPositionRelativeToOffsetParent(topLeftLocation()).y(); |
+ return adjustedPositionRelativeToUnclosedOffsetParent(topLeftLocation()).y(); |
} |
LayoutPoint LayoutBox::flipForWritingModeForChild(const LayoutBox* child, const LayoutPoint& point) const |