Index: Source/core/editing/InputMethodController.cpp |
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
index 3609e75405069a27fc42c957cd5e295daa8802a6..cffc731616209a6e4f8c00cc28c2bf32e3bd8fe1 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.createRangeForInput(*rootEditableElement); |
if (!range) |
return false; |