diff options
author | fs <fs@opera.com> | 2016-03-02 02:37:01 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-02 10:39:31 +0000 |
commit | a663c6ee1aef79f2de75c7620b72cea48630b9ca (patch) | |
tree | 5bfa36b5054cf4e4af7071a2be6f5958e24426c7 /third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h | |
parent | e0a26ada92db6f4230059892d4d2f446f35732b6 (diff) | |
download | chromium_src-a663c6ee1aef79f2de75c7620b72cea48630b9ca.zip chromium_src-a663c6ee1aef79f2de75c7620b72cea48630b9ca.tar.gz chromium_src-a663c6ee1aef79f2de75c7620b72cea48630b9ca.tar.bz2 |
Implement mapAncestorToLocal for LayoutSVG{ModelObject,Block}
This CL adds an implementation of mapAncestorToLocal for SVG
LayoutObject types via a helper in SVGLayoutSupport.
This should help cases which use any of the LayoutObject::ancestorTo*
methods (or similar/wrappers.) Examples of users are various form
controls and scrollbars.
BUG=568614
Review URL: https://codereview.chromium.org/1747223002
Cr-Commit-Position: refs/heads/master@{#378716}
Diffstat (limited to 'third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h')
-rw-r--r-- | third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h index ccf5a64..5d85ae8 100644 --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h @@ -33,6 +33,7 @@ public: LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const final; void mapLocalToAncestor(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed = nullptr, const PaintInvalidationState* = nullptr) const final; + void mapAncestorToLocal(const LayoutBoxModelObject* ancestor, TransformState&, MapCoordinatesFlags = ApplyContainerFlip) const final; const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap&) const final; AffineTransform localTransform() const final { return m_localTransform; } |