| 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 7e8990d6ec96a62e0d9a80cccbcc5a7fea67c519..131a56667c4ae5b7f68f9702944047bb5787630f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -1650,17 +1650,6 @@ unsigned LayoutText::resolvedTextLength() const
|
| return len;
|
| }
|
|
|
| -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;
|
| -}
|
| -
|
| bool LayoutText::computeCanUseSimpleFontCodePath() const
|
| {
|
| if (m_text.is8Bit())
|
|
|