| 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 840e371f4f81d4b43c0f337b1f8dfaf187dc0103..e018d69fccfb8d1d99af5fba7c853dcef5b726e2 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
| @@ -431,7 +431,7 @@ void InsertParagraphSeparatorCommand::doApply(EditingState* editingState)
|
| if (editingState->isAborted())
|
| return;
|
|
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| // If the paragraph separator was inserted at the end of a paragraph, an empty line must be
|
| // created. All of the nodes, starting at visiblePos, are about to be added to the new paragraph
|
| @@ -468,7 +468,7 @@ void InsertParagraphSeparatorCommand::doApply(EditingState* editingState)
|
|
|
| // Handle whitespace that occurs after the split
|
| if (positionAfterSplit.isNotNull()) {
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| // TODO(yosin) |isRenderedCharacter()| should be removed, and we should
|
| // use |VisiblePosition::characterAfter()|.
|
| if (!isRenderedCharacter(positionAfterSplit)) {
|
|
|