| Index: Source/core/rendering/InlineTextBox.cpp
|
| diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
|
| index 60a35deccf1253ac5df7bbcae293e5ccc1ae2019..27948545287d9763242e1c69a427cd870093470c 100644
|
| --- a/Source/core/rendering/InlineTextBox.cpp
|
| +++ b/Source/core/rendering/InlineTextBox.cpp
|
| @@ -211,8 +211,6 @@ LayoutRect InlineTextBox::localSelectionRect(int startPos, int endPos)
|
| StringBuilder charactersWithHyphen;
|
| bool respectHyphen = ePos == m_len && hasHyphen();
|
| TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
|
| - if (respectHyphen)
|
| - endPos = textRun.length();
|
|
|
| FloatPoint startingPoint = FloatPoint(logicalLeft(), selTop);
|
| LayoutRect r;
|
|
|