Index: Source/core/editing/InputMethodController.cpp |
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
index 3609e75405069a27fc42c957cd5e295daa8802a6..855b7668816b24b71f9a80b36dff2a9fa52eb69c 100644 |
--- a/Source/core/editing/InputMethodController.cpp |
+++ b/Source/core/editing/InputMethodController.cpp |
@@ -379,7 +379,7 @@ bool InputMethodController::setSelectionOffsets(const PlainTextRange& selectionO |
if (!rootEditableElement) |
return false; |
- RefPtrWillBeRawPtr<Range> range = selectionOffsets.createRange(*rootEditableElement); |
+ RefPtrWillBeRawPtr<Range> range = selectionOffsets.createRangeForInputMethod(*rootEditableElement); |
if (!range) |
return false; |