| Index: third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| index ea6d016ba34355018c1e277d7cd63fa8e9894df6..01099906f78a6e41a6a6624a6f65f96b4e13c846 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| @@ -218,7 +218,7 @@ void InsertParagraphSeparatorCommand::doApply(EditingState* editingState)
|
|
|
| // Create block to be inserted.
|
| Element* blockToInsert = nullptr;
|
| - if (startBlock->isRootEditableElement()) {
|
| + if (isRootEditableElement(*startBlock)) {
|
| blockToInsert = createDefaultParagraphElement(document());
|
| nestNewBlock = true;
|
| } else if (shouldUseDefaultParagraphElement(startBlock)) {
|
|
|