Index: Source/core/svg/SVGLocatable.h |
diff --git a/Source/core/svg/SVGLocatable.h b/Source/core/svg/SVGLocatable.h |
index a284ec359269994c9c90785cdba00692a4377a07..bac961d47eaf96198d0e4f5cee7c43b14d2b3e82 100644 |
--- a/Source/core/svg/SVGLocatable.h |
+++ b/Source/core/svg/SVGLocatable.h |
@@ -23,10 +23,10 @@ |
#define SVGLocatable_h |
#include "core/platform/graphics/transforms/AffineTransform.h" |
+#include "core/svg/SVGRect.h" |
namespace WebCore { |
-class FloatRect; |
class SVGElement; |
typedef int ExceptionCode; |
@@ -41,7 +41,7 @@ public: |
enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; |
- virtual FloatRect getBBox(StyleUpdateStrategy) = 0; |
+ virtual SVGRect getBBox(StyleUpdateStrategy) = 0; |
virtual AffineTransform getCTM(StyleUpdateStrategy) = 0; |
virtual AffineTransform getScreenCTM(StyleUpdateStrategy) = 0; |
AffineTransform getTransformToElement(SVGElement*, ExceptionCode&, StyleUpdateStrategy = AllowStyleUpdate); |
@@ -57,7 +57,7 @@ public: |
protected: |
virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope) const { return AffineTransform(); } |
- static FloatRect getBBox(SVGElement*, StyleUpdateStrategy); |
+ static SVGRect getBBox(SVGElement*, StyleUpdateStrategy); |
static AffineTransform computeCTM(SVGElement*, CTMScope, StyleUpdateStrategy); |
}; |