| Index: third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| index a702f6088b141924fe3d03b3c7f43e0792d47575..46e2b6caab627cbb2048593c5f44e9ae7aae9307 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
| @@ -170,7 +170,7 @@ void InsertTextCommand::doApply(EditingState* editingState)
|
| if (lineBreakExistsAtPosition(downstream)) {
|
| // FIXME: This doesn't handle placeholders at the end of anonymous blocks.
|
| VisiblePosition caret = createVisiblePositionDeprecated(startPosition);
|
| - if (isEndOfBlock(caret) && isStartOfParagraph(caret))
|
| + if (isEndOfBlock(caret) && isStartOfParagraphDeprecated(caret))
|
| placeholder = downstream;
|
| // Don't remove the placeholder yet, otherwise the block we're inserting into would collapse before
|
| // we get a chance to insert into it. We check for a placeholder now, though, because doing so requires
|
|
|