Index: Source/core/editing/ModifySelectionListLevel.cpp |
diff --git a/Source/core/editing/ModifySelectionListLevel.cpp b/Source/core/editing/ModifySelectionListLevel.cpp |
index bdf29a8ec2ffe18e7333a3446fa2d6a60ec0eaea..13ccccd08beb8744f7f5966d637de58aefe96947 100644 |
--- a/Source/core/editing/ModifySelectionListLevel.cpp |
+++ b/Source/core/editing/ModifySelectionListLevel.cpp |
@@ -190,10 +190,10 @@ void IncreaseSelectionListLevelCommand::doApply() |
newParent = newParent->cloneElementWithoutChildren(); |
break; |
case OrderedList: |
- newParent = createOrderedListElement(&document()); |
+ newParent = createOrderedListElement(document()); |
break; |
case UnorderedList: |
- newParent = createUnorderedListElement(&document()); |
+ newParent = createUnorderedListElement(document()); |
break; |
} |
insertNodeBefore(newParent, startListChild); |