Index: Source/core/rendering/svg/SVGTextQuery.h |
diff --git a/Source/core/rendering/svg/SVGTextQuery.h b/Source/core/rendering/svg/SVGTextQuery.h |
index dba5b0b779ceca8a792696df2997db20d8e5c518..1a99cd303af5790219e83f5c09a8d35fa294335f 100644 |
--- a/Source/core/rendering/svg/SVGTextQuery.h |
+++ b/Source/core/rendering/svg/SVGTextQuery.h |
@@ -20,9 +20,9 @@ |
#ifndef SVGTextQuery_h |
#define SVGTextQuery_h |
-#include "core/platform/graphics/FloatRect.h" |
#include "core/rendering/svg/SVGTextFragment.h" |
#include "core/svg/SVGPoint.h" |
+#include "core/svg/SVGRect.h" |
#include <wtf/Vector.h> |
namespace WebCore { |
@@ -41,7 +41,7 @@ public: |
FloatPoint startPositionOfCharacter(unsigned position) const; |
FloatPoint endPositionOfCharacter(unsigned position) const; |
float rotationOfCharacter(unsigned position) const; |
- FloatRect extentOfCharacter(unsigned position) const; |
+ SVGRect extentOfCharacter(unsigned position) const; |
int characterNumberAtPosition(const SVGPoint&) const; |
// Public helper struct. Private classes in SVGTextQuery inherit from it. |