| Index: Source/core/svg/SVGLocatable.cpp
|
| diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp
|
| index fdc387836e2ba7aa41c6f53980125b7a0f627677..3549580941969786af88991336550c5c6edd186f 100644
|
| --- a/Source/core/svg/SVGLocatable.cpp
|
| +++ b/Source/core/svg/SVGLocatable.cpp
|
| @@ -61,7 +61,7 @@ SVGElement* SVGLocatable::farthestViewportElement(const SVGElement* element)
|
| return farthest;
|
| }
|
|
|
| -FloatRect SVGLocatable::getBBox(SVGElement* element, StyleUpdateStrategy styleUpdateStrategy)
|
| +SVGRect SVGLocatable::getBBox(SVGElement* element, StyleUpdateStrategy styleUpdateStrategy)
|
| {
|
| ASSERT(element);
|
| if (styleUpdateStrategy == AllowStyleUpdate)
|
| @@ -69,7 +69,7 @@ FloatRect SVGLocatable::getBBox(SVGElement* element, StyleUpdateStrategy styleUp
|
|
|
| // FIXME: Eventually we should support getBBox for detached elements.
|
| if (!element->renderer())
|
| - return FloatRect();
|
| + return SVGRect();
|
|
|
| return element->renderer()->objectBoundingBox();
|
| }
|
|
|