| Index: third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| index 5c0f92524b2c642c1ce635d173521cb08d629cda..5867f30f5597824a051662df47b45a4ef56bf2ad 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
| @@ -147,7 +147,7 @@ void InsertLineBreakCommand::doApply(EditingState* editingState)
|
| Position endingPosition = firstPositionInNode(textNode);
|
|
|
| // Handle whitespace that occurs after the split
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| // TODO(yosin) |isRenderedCharacter()| should be removed, and we should
|
| // use |VisiblePosition::characterAfter()|.
|
| if (!isRenderedCharacter(endingPosition)) {
|
|
|