| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index 6c19da1128393b4ecb6515bdebf58e737b6aa341..590a7f4d5be4fbb5adac72281db858424b7fe01a 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -149,13 +149,13 @@ SVGPoint SVGTextContentElement::getEndPositionOfChar(unsigned charnum, Exception
|
| return SVGTextQuery(renderer()).endPositionOfCharacter(charnum);
|
| }
|
|
|
| -FloatRect SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionCode& ec)
|
| +SVGRect SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionCode& ec)
|
| {
|
| document()->updateLayoutIgnorePendingStylesheets();
|
|
|
| if (charnum > getNumberOfChars()) {
|
| ec = IndexSizeError;
|
| - return FloatRect();
|
| + return SVGRect();
|
| }
|
|
|
| return SVGTextQuery(renderer()).extentOfCharacter(charnum);
|
|
|