Index: Source/core/layout/svg/LayoutSVGBlock.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGBlock.cpp b/Source/core/layout/svg/LayoutSVGBlock.cpp |
index 43f43cc9c0b7057502f5ddfde8944fa985cccfc2..10ae0ab9b82293c0eaf724844984511d6cdf1407 100644 |
--- a/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -39,10 +39,8 @@ LayoutSVGBlock::LayoutSVGBlock(SVGElement* element) |
LayoutRect LayoutSVGBlock::visualOverflowRect() const |
chrishtr
2015/06/03 22:12:53
Is this only ever used in BoxPainter when painting
fs
2015/06/04 09:13:31
No, AFAIK it's only used in BlockPainter (overflow
|
{ |
LayoutRect borderRect = borderBoxRect(); |
- |
- if (const ShadowList* textShadow = style()->textShadow()) |
- textShadow->adjustRectForShadow(borderRect); |
- |
+ if (style()->hasVisualOverflowingEffect()) |
+ borderRect.expand(computeVisualEffectOverflowOutsets()); |
chrishtr
2015/06/02 15:51:05
LayoutBox computes visual overflow during layout.
|
return borderRect; |
} |