Index: Source/core/svg/SVGPathElement.cpp |
diff --git a/Source/core/svg/SVGPathElement.cpp b/Source/core/svg/SVGPathElement.cpp |
index 7d85563538e484a2ae5a7829a43a94d3f5f1dd49..a59e280b41d634f58b3d0468ad9afd61544a92e5 100644 |
--- a/Source/core/svg/SVGPathElement.cpp |
+++ b/Source/core/svg/SVGPathElement.cpp |
@@ -270,19 +270,4 @@ void SVGPathElement::pathSegListChanged(ListModification listModification) |
markForLayoutAndParentResourceInvalidation(layoutObject); |
} |
-FloatRect SVGPathElement::getBBox() |
-{ |
- // By default, getBBox() returns objectBoundingBox but that will include |
- // markers so we override it to return just the path's bounding rect. |
- |
- document().updateLayoutIgnorePendingStylesheets(); |
- |
- // FIXME: Eventually we should support getBBox for detached elements. |
- if (!layoutObject()) |
- return FloatRect(); |
- |
- LayoutSVGShape* layoutObject = toLayoutSVGShape(this->layoutObject()); |
- return layoutObject->path().boundingRect(); |
-} |
- |
} // namespace blink |