Index: Source/core/svg/SVGTextContentElement.cpp |
diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp |
index c49f38447eb15668fa2db13577fb19ae2bbf9553..f38f1c018dc3f31fa6646fde14bfc32f5fb536e9 100644 |
--- a/Source/core/svg/SVGTextContentElement.cpp |
+++ b/Source/core/svg/SVGTextContentElement.cpp |
@@ -125,7 +125,7 @@ float SVGTextContentElement::getSubStringLength(unsigned charnum, unsigned nchar |
return SVGTextQuery(renderer()).subStringLength(charnum, nchars); |
} |
-FloatPoint SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionCode& ec) |
+SVGPoint SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionCode& ec) |
{ |
document()->updateLayoutIgnorePendingStylesheets(); |
@@ -137,7 +137,7 @@ FloatPoint SVGTextContentElement::getStartPositionOfChar(unsigned charnum, Excep |
return SVGTextQuery(renderer()).startPositionOfCharacter(charnum); |
} |
-FloatPoint SVGTextContentElement::getEndPositionOfChar(unsigned charnum, ExceptionCode& ec) |
+SVGPoint SVGTextContentElement::getEndPositionOfChar(unsigned charnum, ExceptionCode& ec) |
{ |
document()->updateLayoutIgnorePendingStylesheets(); |
@@ -173,7 +173,7 @@ float SVGTextContentElement::getRotationOfChar(unsigned charnum, ExceptionCode& |
return SVGTextQuery(renderer()).rotationOfCharacter(charnum); |
} |
-int SVGTextContentElement::getCharNumAtPosition(const FloatPoint& point) |
+int SVGTextContentElement::getCharNumAtPosition(const SVGPoint& point) |
{ |
document()->updateLayoutIgnorePendingStylesheets(); |
return SVGTextQuery(renderer()).characterNumberAtPosition(point); |