| 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 7ea8eddf77aaa70f6038d00a88f883508d7364c3..f019fb6048f74f6eb27bade5f60e366f1e509cce 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(
|
|
|