| Index: Source/core/editing/InputMethodController.cpp
|
| diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp
|
| index b3c08425030c465d61c1ed7b1ed4873dbddfc0bb..a33edbc7ee5218cd00241883ffb375b317aac9c0 100644
|
| --- a/Source/core/editing/InputMethodController.cpp
|
| +++ b/Source/core/editing/InputMethodController.cpp
|
| @@ -354,10 +354,7 @@ EphemeralRange InputMethodController::compositionEphemeralRange() const
|
|
|
| PassRefPtrWillBeRawPtr<Range> InputMethodController::compositionRange() const
|
| {
|
| - const EphemeralRange range = compositionEphemeralRange();
|
| - if (range.isNull())
|
| - return nullptr;
|
| - return Range::create(range.document(), range.startPosition(), range.endPosition());
|
| + return createRange(compositionEphemeralRange());
|
| }
|
|
|
| PlainTextRange InputMethodController::getSelectionOffsets() const
|
|
|