| Index: Source/core/svg/SVGTextContentElement.cpp
|
| diff --git a/Source/core/svg/SVGTextContentElement.cpp b/Source/core/svg/SVGTextContentElement.cpp
|
| index fb4420a70db01a1d478b87f52c0a0ede5b56abfe..85a3fd4323af107bbb2e6a8474852715af11059a 100644
|
| --- a/Source/core/svg/SVGTextContentElement.cpp
|
| +++ b/Source/core/svg/SVGTextContentElement.cpp
|
| @@ -190,12 +190,12 @@ void SVGTextContentElement::selectSubString(unsigned charnum, unsigned nchars, E
|
| // Find selection start
|
| VisiblePosition start(firstPositionInNode(const_cast<SVGTextContentElement*>(this)));
|
| for (unsigned i = 0; i < charnum; ++i)
|
| - start = start.next();
|
| + start = nextPositionOf(start);
|
|
|
| // Find selection end
|
| VisiblePosition end(start);
|
| for (unsigned i = 0; i < nchars; ++i)
|
| - end = end.next();
|
| + end = nextPositionOf(end);
|
|
|
| document().frame()->selection().setSelection(VisibleSelection(start, end));
|
| }
|
|
|