| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| index ea5ab77d4d8f0dd7963f4bef785168f09ebdf676..5010d2357b0be53056cabd686822ee4eb4ea3319 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| @@ -443,7 +443,9 @@ void InsertListCommand::listifyParagraph(const VisiblePosition& originalStart, c
|
| // a placeholder and then recompute start and end.
|
| Position startPos = start.deepEquivalent();
|
| if (start.deepEquivalent() == end.deepEquivalent() && isEnclosingBlock(start.deepEquivalent().anchorNode())) {
|
| - const RefPtrWillBeRawPtr<HTMLBRElement> placeholder = insertBlockPlaceholder(startPos);
|
| + const RefPtrWillBeRawPtr<HTMLBRElement> placeholder = insertBlockPlaceholder(startPos, editingState);
|
| + if (editingState->isAborted())
|
| + return;
|
| startPos = Position::beforeNode(placeholder.get());
|
| }
|
|
|
|
|