Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: Source/core/layout/svg/LayoutSVGBlock.cpp

Issue 1158323005: Include 'outline' in LayoutSVGBlock::visualOverflowRect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move fix to layout-side. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..89e5e3213f0a7c9a949de269f05b1eae5147489f 100644
--- a/Source/core/layout/svg/LayoutSVGBlock.cpp
+++ b/Source/core/layout/svg/LayoutSVGBlock.cpp
@@ -36,16 +36,6 @@ LayoutSVGBlock::LayoutSVGBlock(SVGElement* element)
{
}
-LayoutRect LayoutSVGBlock::visualOverflowRect() const
-{
- LayoutRect borderRect = borderBoxRect();
-
- if (const ShadowList* textShadow = style()->textShadow())
- textShadow->adjustRectForShadow(borderRect);
-
- return borderRect;
-}
-
void LayoutSVGBlock::updateFromStyle()
{
LayoutBlock::updateFromStyle();

Powered by Google App Engine
This is Rietveld 408576698