| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| index 8e1c323fb74e571ab5ba567be66f959701923e2f..361cb77f230419f626d3ae1edbeaf64edda6b3a8 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| @@ -130,9 +130,8 @@ void LayoutSVGImage::layout() {
|
| }
|
|
|
| if (m_needsBoundariesUpdate) {
|
| - m_paintInvalidationBoundingBox = m_objectBoundingBox;
|
| - SVGLayoutSupport::intersectPaintInvalidationRectWithResources(
|
| - this, m_paintInvalidationBoundingBox);
|
| + m_localVisualRect = m_objectBoundingBox;
|
| + SVGLayoutSupport::adjustVisualRectWithResources(this, m_localVisualRect);
|
| m_needsBoundariesUpdate = false;
|
| updateParentBoundaries = true;
|
| }
|
| @@ -202,7 +201,7 @@ void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects,
|
| IncludeBlockVisualOverflowOrNot) const {
|
| // this is called from paint() after the localTransform has already been
|
| // applied
|
| - rects.append(LayoutRect(paintInvalidationRectInLocalSVGCoordinates()));
|
| + rects.append(LayoutRect(visualRectInLocalSVGCoordinates()));
|
| }
|
|
|
| } // namespace blink
|
|
|