Chromium Code Reviews| Index: Source/core/editing/InputMethodController.cpp |
| diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
| index b3c08425030c465d61c1ed7b1ed4873dbddfc0bb..96bbb0ca1b492d419cfe67364c5ce247159e3803 100644 |
| --- a/Source/core/editing/InputMethodController.cpp |
| +++ b/Source/core/editing/InputMethodController.cpp |
| @@ -357,7 +357,7 @@ PassRefPtrWillBeRawPtr<Range> InputMethodController::compositionRange() const |
| const EphemeralRange range = compositionEphemeralRange(); |
| if (range.isNull()) |
|
tkent
2015/08/24 09:38:05
We can remove these two lines.
yosin_UTC9
2015/08/24 13:19:22
Done.
|
| return nullptr; |
| - return Range::create(range.document(), range.startPosition(), range.endPosition()); |
| + return createRange(range); |
| } |
| PlainTextRange InputMethodController::getSelectionOffsets() const |