Index: Source/core/editing/InsertLineBreakCommand.cpp |
diff --git a/Source/core/editing/InsertLineBreakCommand.cpp b/Source/core/editing/InsertLineBreakCommand.cpp |
index 4862f6f7cff45563a060114e53f3378bfae86ff1..3b93e9a646d35c86e54ad06d3732758cdc739083 100644 |
--- a/Source/core/editing/InsertLineBreakCommand.cpp |
+++ b/Source/core/editing/InsertLineBreakCommand.cpp |
@@ -108,7 +108,7 @@ void InsertLineBreakCommand::doApply() |
RefPtr<Node> nodeToInsert; |
if (shouldUseBreakElement(pos)) |
- nodeToInsert = createBreakElement(&document()); |
+ nodeToInsert = createBreakElement(document()); |
else |
nodeToInsert = document().createTextNode("\n"); |