| Index: third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| index c2fd4ca90b4d36b105dfd6d46ce602051769c8dc..d4db6ea39207047cdc1d33d8e954d0b7091e5168 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| @@ -116,11 +116,14 @@ bool IndentOutdentCommand::tryIndentingAsListItem(const Position& start,
|
| if (editingState->isAborted())
|
| return false;
|
|
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| if (canMergeLists(previousList, newList)) {
|
| mergeIdenticalElements(previousList, newList, editingState);
|
| if (editingState->isAborted())
|
| return false;
|
| }
|
| +
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| if (canMergeLists(newList, nextList)) {
|
| mergeIdenticalElements(newList, nextList, editingState);
|
| if (editingState->isAborted())
|
|
|