Index: Source/core/editing/IndentOutdentCommand.cpp |
diff --git a/Source/core/editing/IndentOutdentCommand.cpp b/Source/core/editing/IndentOutdentCommand.cpp |
index a9d85887a526808dfc8e67851f30b965f83c6e4d..3efa86f5d5dbab6359e36e553ec4209cd56508da 100644 |
--- a/Source/core/editing/IndentOutdentCommand.cpp |
+++ b/Source/core/editing/IndentOutdentCommand.cpp |
@@ -160,9 +160,9 @@ void IndentOutdentCommand::outdentParagraph() |
visibleStartOfParagraph = VisiblePosition(visibleStartOfParagraph.deepEquivalent()); |
visibleEndOfParagraph = VisiblePosition(visibleEndOfParagraph.deepEquivalent()); |
if (visibleStartOfParagraph.isNotNull() && !isStartOfParagraph(visibleStartOfParagraph)) |
- insertNodeAt(createBreakElement(&document()), visibleStartOfParagraph.deepEquivalent()); |
+ insertNodeAt(createBreakElement(document()), visibleStartOfParagraph.deepEquivalent()); |
if (visibleEndOfParagraph.isNotNull() && !isEndOfParagraph(visibleEndOfParagraph)) |
- insertNodeAt(createBreakElement(&document()), visibleEndOfParagraph.deepEquivalent()); |
+ insertNodeAt(createBreakElement(document()), visibleEndOfParagraph.deepEquivalent()); |
return; |
} |
@@ -175,7 +175,7 @@ void IndentOutdentCommand::outdentParagraph() |
Node* highestInlineNode = highestEnclosingNodeOfType(visibleStartOfParagraph.deepEquivalent(), isInline, CannotCrossEditingBoundary, enclosingBlockFlow); |
splitElement(toElement(enclosingNode), (highestInlineNode) ? highestInlineNode : visibleStartOfParagraph.deepEquivalent().deprecatedNode()); |
} |
- RefPtr<Node> placeholder = createBreakElement(&document()); |
+ RefPtr<Node> placeholder = createBreakElement(document()); |
insertNodeBefore(placeholder, splitBlockquoteNode); |
moveParagraph(startOfParagraph(visibleStartOfParagraph), endOfParagraph(visibleEndOfParagraph), positionBeforeNode(placeholder.get()), true); |
} |