| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| index ae5095b0e063bbea33e1cc7b4bf0c59867ec76e1..7af76e12086d3561393a35335178ce7dd078f866 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| @@ -368,15 +368,14 @@ FloatRect LayoutSVGText::strokeBoundingBox() const {
|
| return strokeBoundaries;
|
| }
|
|
|
| -FloatRect LayoutSVGText::paintInvalidationRectInLocalSVGCoordinates() const {
|
| - FloatRect paintInvalidationRect = strokeBoundingBox();
|
| - SVGLayoutSupport::intersectPaintInvalidationRectWithResources(
|
| - this, paintInvalidationRect);
|
| +FloatRect LayoutSVGText::visualRectInLocalSVGCoordinates() const {
|
| + FloatRect visualRect = strokeBoundingBox();
|
| + SVGLayoutSupport::adjustVisualRectWithResources(this, visualRect);
|
|
|
| if (const ShadowList* textShadow = style()->textShadow())
|
| - textShadow->adjustRectForShadow(paintInvalidationRect);
|
| + textShadow->adjustRectForShadow(visualRect);
|
|
|
| - return paintInvalidationRect;
|
| + return visualRect;
|
| }
|
|
|
| bool LayoutSVGText::isObjectBoundingBoxValid() const {
|
|
|