Index: Source/core/editing/CompositeEditCommand.cpp |
diff --git a/Source/core/editing/CompositeEditCommand.cpp b/Source/core/editing/CompositeEditCommand.cpp |
index 0bbc54e7d02accfea87da9a8d53164bcbc3ca072..004f0e3e1da8980e847f726a5be519e76098517a 100644 |
--- a/Source/core/editing/CompositeEditCommand.cpp |
+++ b/Source/core/editing/CompositeEditCommand.cpp |
@@ -1178,7 +1178,7 @@ void CompositeEditCommand::moveParagraphs(const VisiblePosition& startOfParagrap |
// FIXME: This is an inefficient way to preserve style on nodes in the paragraph to move. It |
// shouldn't matter though, since moved paragraphs will usually be quite small. |
RefPtr<DocumentFragment> fragment = startOfParagraphToMove != endOfParagraphToMove ? |
- createFragmentFromMarkup(&document(), createMarkup(range.get(), 0, DoNotAnnotateForInterchange, true, DoNotResolveURLs, constrainingAncestor), "") : 0; |
+ createFragmentFromMarkup(document(), createMarkup(range.get(), 0, DoNotAnnotateForInterchange, true, DoNotResolveURLs, constrainingAncestor), "") : 0; |
// A non-empty paragraph's style is moved when we copy and move it. We don't move |
// anything if we're given an empty paragraph, but an empty paragraph can have style |