| Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| index ef00372c38e625714f559c15b72f23d87e4f5224..33151fb23397d66a88f0810b1c44c2c1ffccdf6c 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| @@ -87,7 +87,7 @@ PlainTextRange getSelectionOffsets(LocalFrame* frame) {
|
| if (range.isNull())
|
| return PlainTextRange();
|
| ContainerNode* const editable = rootEditableElementOrTreeScopeRootNodeOf(
|
| - frame->selection().computeVisibleSelectionInDOMTreeDeprecated());
|
| + frame->selection().computeVisibleSelectionInDOMTree().base());
|
| DCHECK(editable);
|
| return PlainTextRange::create(*editable, range);
|
| }
|
|
|