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