Index: third_party/WebKit/Source/core/layout/LayoutBox.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h |
index 429c6d18f9a64215142f5846863132196f6f63d3..eec2891efc9e3a2cba7012371b93c07dfbb279de 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.h |
@@ -326,6 +326,10 @@ class CORE_EXPORT LayoutBox : public LayoutBoxModelObject { |
frameRectChanged(); |
} |
+ // The ancestor box that this object's location and topLeftLocation are |
+ // relative to. |
+ virtual LayoutBox* locationContainer() const; |
+ |
// FIXME: Currently scrollbars are using int geometry and positioned based on |
// pixelSnappedBorderBoxRect whose size may change when location changes because of |
// pixel snapping. This function is used to change location of the LayoutBox outside |