Index: Source/core/svg/SVGElement.cpp |
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp |
index ad543482185f62aa454ce2229b37069d663777fa..105fb78c42960505d448f88556ac59c632719409 100644 |
--- a/Source/core/svg/SVGElement.cpp |
+++ b/Source/core/svg/SVGElement.cpp |
@@ -41,7 +41,6 @@ |
#include "core/svg/SVGElementRareData.h" |
#include "core/svg/SVGGraphicsElement.h" |
#include "core/svg/SVGSVGElement.h" |
-#include "core/svg/SVGTextElement.h" |
namespace WebCore { |
@@ -259,10 +258,6 @@ bool SVGElement::getBoundingBox(FloatRect& rect, SVGLocatable::StyleUpdateStrate |
rect = toSVGGraphicsElement(this)->getBBox(styleUpdateStrategy); |
return true; |
} |
- if (hasTagName(SVGNames::textTag)) { |
- rect = static_cast<SVGTextElement*>(this)->getBBox(styleUpdateStrategy); |
- return true; |
- } |
return false; |
} |