| Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| index 424f5f76af66ac7a2e5cacdc3e2bcfc8be7730db..a32af98ddc42687a542cab22039cc0b921da6af0 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -179,7 +179,8 @@ void SVGLayoutSupport::mapLocalToAncestor(const LayoutObject* object,
|
|
|
| void SVGLayoutSupport::mapAncestorToLocal(const LayoutObject& object,
|
| const LayoutBoxModelObject* ancestor,
|
| - TransformState& transformState) {
|
| + TransformState& transformState,
|
| + MapCoordinatesFlags flags) {
|
| // |object| is either a LayoutSVGModelObject or a LayoutSVGBlock here. In
|
| // the former case, |object| can never be an ancestor while in the latter
|
| // the caller is responsible for doing the ancestor check. Because of this,
|
| @@ -192,7 +193,7 @@ void SVGLayoutSupport::mapAncestorToLocal(const LayoutObject& object,
|
| const LayoutSVGRoot& svgRoot =
|
| computeTransformToSVGRoot(object, localToSVGRoot);
|
|
|
| - MapCoordinatesFlags mode = UseTransforms | ApplyContainerFlip;
|
| + MapCoordinatesFlags mode = flags | UseTransforms | ApplyContainerFlip;
|
| svgRoot.mapAncestorToLocal(ancestor, transformState, mode);
|
|
|
| transformState.applyTransform(localToSVGRoot);
|
|
|