| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 04ae2f672ed363e1122345e6957fbc0b60a72e37..5224cf62a215a189ec5e918b281b3201d7e5de43 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -986,6 +986,13 @@ public:
|
| FloatPoint localToAncestorPoint(const FloatPoint&, const LayoutBoxModelObject* ancestor, MapCoordinatesFlags = 0, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const;
|
| void localToAncestorRects(Vector<LayoutRect>&, const LayoutBoxModelObject* ancestor, const LayoutPoint& preOffset, const LayoutPoint& postOffset) const;
|
|
|
| + // Return the transformation matrix to map points from local to the coordinate system of a container, taking transforms into account.
|
| + TransformationMatrix localToAncestorTransform(const LayoutBoxModelObject* ancestor, MapCoordinatesFlags = 0, bool* wasFixed = nullptr) const;
|
| + TransformationMatrix localToAbsoluteTransform(MapCoordinatesFlags mode = 0, bool* wasFixed = nullptr) const
|
| + {
|
| + return localToAncestorTransform(nullptr, mode, wasFixed);
|
| + }
|
| +
|
| // Convert a local point into the coordinate system of backing coordinates. Also returns the backing layer if needed.
|
| FloatPoint localToInvalidationBackingPoint(const LayoutPoint&, PaintLayer** backingLayer = nullptr);
|
|
|
|
|