| 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 0fadbdabc39121c569d3c26811b268d472bb5f61..2c53a87b528f82c91918326be084aa0f75bc4aed 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
| @@ -492,7 +492,7 @@ void InsertListCommand::moveParagraphOverPositionIntoEmptyListItem(const Visible
|
| return;
|
| // Inserting list element and list item list may change start of pargraph
|
| // to move. We calculate start of paragraph again.
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| const VisiblePosition& start = startOfParagraph(pos, CanSkipOverEditingBoundary);
|
| const VisiblePosition& end = endOfParagraph(pos, CanSkipOverEditingBoundary);
|
| moveParagraph(start, end, createVisiblePosition(positionBeforeNode(placeholder)), editingState, true);
|
|
|