| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index 3099e448e86b5b3c0ef131b5caadacacbff463b6..2b21a70ac76916592b091fffef117cd3c399a8c6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -1674,17 +1674,6 @@ int LayoutText::previousOffset(int current) const
|
| return result;
|
| }
|
|
|
| -int LayoutText::previousOffsetForBackwardDeletion(int current) const
|
| -{
|
| - // Delete by one code point. Ideally we should delete grapheme where that
|
| - // makes sense. https://crbug.com/587241
|
| - if (U16_IS_TRAIL(m_text[--current]))
|
| - --current;
|
| - if (current < 0)
|
| - current = 0;
|
| - return current;
|
| -}
|
| -
|
| int LayoutText::nextOffset(int current) const
|
| {
|
| if (m_text.is8Bit())
|
|
|