| 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 a023267e5199eb3e6e6982346e18e34ad0045261..99b1368da230cbb207683616488f9d2ddde2ecfb 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| @@ -112,7 +112,7 @@ bool InsertParagraphSeparatorCommand::shouldUseDefaultParagraphElement(Element*
|
| return true;
|
|
|
| // Assumes that if there was a range selection, it was already deleted.
|
| - if (!isEndOfBlock(endingSelection().visibleStart()))
|
| + if (!isEndOfBlock(endingSelection().visibleStartDeprecated()))
|
| return false;
|
|
|
| return enclosingBlock->hasTagName(h1Tag)
|
|
|