| 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 93ce9ed40f1f1acb62bc57e44b5e46a0b46259b0..efcf4a2aad2bb9f5fbdd846d165b693f62ed5123 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -349,11 +349,11 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
|
| return;
|
|
|
| const Position start = range.startPosition();
|
| - if (editableRootElementForPosition(start) != editable)
|
| + if (rootEditableElementOf(start) != editable)
|
| return;
|
|
|
| const Position end = range.endPosition();
|
| - if (editableRootElementForPosition(end) != editable)
|
| + if (rootEditableElementOf(end) != editable)
|
| return;
|
|
|
| clear();
|
|
|