| 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 ab9a3abca165d46de01e60d4895eea4008ee038d..a1a928da1632941dbc395da6407c053508b5799b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
| @@ -153,7 +153,9 @@ void TypingCommand::deleteSelection(Document& document, Options options) {
|
| LocalFrame* frame = document.frame();
|
| DCHECK(frame);
|
|
|
| - if (!frame->selection().isRange())
|
| + if (!frame->selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .isRange())
|
| return;
|
|
|
| if (TypingCommand* lastTypingCommand =
|
|
|