| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| index 2b610f00cf73fb1866b47e76638fbed6665e06d2..2949fb6ab3b220eb19c4ca5bafe7ece82aa56f45 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
| @@ -57,9 +57,8 @@ void LayoutSVGModelObject::mapLocalToAncestor(
|
| SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, flags);
|
| }
|
|
|
| -LayoutRect LayoutSVGModelObject::absoluteClippedOverflowRect() const {
|
| - return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this,
|
| - *view());
|
| +LayoutRect LayoutSVGModelObject::absoluteVisualRect() const {
|
| + return SVGLayoutSupport::visualRectInAncestorSpace(*this, *view());
|
| }
|
|
|
| void LayoutSVGModelObject::mapAncestorToLocal(
|
| @@ -144,8 +143,7 @@ bool LayoutSVGModelObject::nodeAtPoint(HitTestResult&,
|
| // default absoluteElementBoundingBoxRect() returns incorrect values for SVG
|
| // objects. Overriding this method provides access to the absolute bounds.
|
| IntRect LayoutSVGModelObject::absoluteElementBoundingBoxRect() const {
|
| - return localToAbsoluteQuad(
|
| - FloatQuad(paintInvalidationRectInLocalSVGCoordinates()))
|
| + return localToAbsoluteQuad(FloatQuad(visualRectInLocalSVGCoordinates()))
|
| .enclosingBoundingBox();
|
| }
|
|
|
|
|