| 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..50d328daf0bee3da525922017531e90fa257ea63 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -115,7 +115,10 @@ LayoutRect SVGLayoutSupport::transformPaintInvalidationRect(
|
| if (adjustedRect.isEmpty())
|
| return LayoutRect();
|
|
|
| - return enclosingLayoutRect(adjustedRect);
|
| + // Use enclosingIntRect because we cannot properly apply subpixel offset of
|
| + // the SVGRoot since we don't know the desired subpixel accumulation at this
|
| + // point.
|
| + return LayoutRect(enclosingIntRect(adjustedRect));
|
| }
|
|
|
| static const LayoutSVGRoot& computeTransformToSVGRoot(
|
|
|