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 95af147fa30f2640607b347d5ab4935fe95b9c84..aecd9215b58ae68dcdcaa980c0a4ba01b2196a55 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp |
@@ -88,7 +88,7 @@ bool IndentOutdentCommand::tryIndentingAsListItem(const Position& start, const P |
// We should calculate visible range in list item because inserting new |
// list element will change visibility of list item, e.g. :first-child |
// CSS selector. |
- HTMLElement* newList = toHTMLElement(document().createElement(listElement->tagQName(), false)); |
+ HTMLElement* newList = toHTMLElement(document().createElement(listElement->tagQName(), CreatedByCloneNode)); |
insertNodeBefore(newList, selectedListItem, editingState); |
if (editingState->isAborted()) |
return false; |