| Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| index 46b1370c1fb8f47cc5848930a7b22cf62f60314f..ee324e4e1e7a059ae292baee227e902ebe1e6d31 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -620,7 +620,10 @@ void InputMethodController::setComposition(
|
| return;
|
| }
|
|
|
| - addCompositionUnderlines(underlines, baseNode->parentNode(), baseOffset);
|
| + const PlainTextRange compositionPlainTextRange =
|
| + PlainTextRange::create(*baseNode->parentNode(), *m_compositionRange);
|
| + addCompositionUnderlines(underlines, baseNode->parentNode(),
|
| + compositionPlainTextRange.start());
|
| }
|
|
|
| PlainTextRange InputMethodController::createSelectionRangeForSetComposition(
|
|
|