| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| index 94338f814f1c2371b20507c39dfb9529055ef6c8..2072bcaa97c3b9a2236fdb90464dcae03b0ab829 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp
|
| @@ -170,10 +170,10 @@ sk_sp<const SkPicture> LayoutSVGResourceClipper::createContentPicture() {
|
| if (m_clipContentPicture)
|
| return m_clipContentPicture;
|
|
|
| - // Using strokeBoundingBox (instead of
|
| - // paintInvalidationRectInLocalSVGCoordinates) to avoid the intersection with
|
| - // local clips/mask, which may yield incorrect results when mixing
|
| - // objectBoundingBox and userSpaceOnUse units (http://crbug.com/294900).
|
| + // Using strokeBoundingBox (instead of visualRectInLocalSVGCoordinates) to
|
| + // avoid the intersection with local clips/mask, which may yield incorrect
|
| + // results when mixing objectBoundingBox and userSpaceOnUse units
|
| + // (http://crbug.com/294900).
|
| FloatRect bounds = strokeBoundingBox();
|
|
|
| SkPictureBuilder pictureBuilder(bounds, nullptr, nullptr);
|
| @@ -250,7 +250,7 @@ void LayoutSVGResourceClipper::calculateLocalClipBounds() {
|
| continue;
|
|
|
| m_localClipBounds.unite(layoutObject->localToSVGParentTransform().mapRect(
|
| - layoutObject->paintInvalidationRectInLocalSVGCoordinates()));
|
| + layoutObject->visualRectInLocalSVGCoordinates()));
|
| }
|
| }
|
|
|
|
|