Index: Source/core/layout/LayoutObject.h |
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h |
index 70f086801a6ac4c63efa7a6cdda5ac7768b84b69..9ba25f388f4106d54ca7b91e1f2436cd1ffbe238 100644 |
--- a/Source/core/layout/LayoutObject.h |
+++ b/Source/core/layout/LayoutObject.h |
@@ -764,9 +764,8 @@ public: |
// Convert a local point into the coordinate system of backing coordinates. Also returns the backing layer if needed. |
FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, DeprecatedPaintLayer** backingLayer = nullptr); |
- // Return the offset from the container() layoutObject (excluding transforms). In multi-column layout, |
- // different offsets apply at different points, so return the offset that applies to the given point. |
- virtual LayoutSize offsetFromContainer(const LayoutObject*, const LayoutPoint&, bool* offsetDependsOnPoint = nullptr) const; |
+ // Return the offset from the container() layoutObject (excluding transforms and multicol). |
+ virtual LayoutSize offsetFromContainer(const LayoutObject*) const; |
// Return the offset from an object up the container() chain. Asserts that none of the intermediate objects have transforms. |
LayoutSize offsetFromAncestorContainer(const LayoutObject*) const; |