| 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 2274567e7652b12f0a10ee97c7e662ef046ff8ea..1a47e76a2a0d59218b36355ee72bd6245a6dd73e 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -128,7 +128,7 @@ bool SVGLayoutSupport::mapToVisualRectInAncestorSpace(const LayoutObject& object
|
|
|
| // Apply initial viewport clip.
|
| if (svgRoot.shouldApplyViewportClip()) {
|
| - LayoutRect clipRect(svgRoot.pixelSnappedBorderBoxRect());
|
| + LayoutRect clipRect(svgRoot.overflowClipRect(LayoutPoint()));
|
| if (visualRectFlags & EdgeInclusive) {
|
| if (!resultRect.inclusiveIntersect(clipRect))
|
| return false;
|
|
|