Index: Source/core/editing/IndentOutdentCommand.cpp |
diff --git a/Source/core/editing/IndentOutdentCommand.cpp b/Source/core/editing/IndentOutdentCommand.cpp |
index 434231f339690f3131ec4678f8a852cfc6873098..d4230bd440340183d5549f4c20efde2d22d53c31 100644 |
--- a/Source/core/editing/IndentOutdentCommand.cpp |
+++ b/Source/core/editing/IndentOutdentCommand.cpp |
@@ -32,6 +32,7 @@ |
#include "core/editing/InsertListCommand.h" |
#include "core/editing/VisibleUnits.h" |
#include "core/editing/htmlediting.h" |
+#include "core/html/HTMLBRElement.h" |
#include "core/html/HTMLElement.h" |
#include "core/rendering/RenderObject.h" |
@@ -193,7 +194,7 @@ void IndentOutdentCommand::outdentParagraph() |
VisiblePosition endOfParagraphToMove(endOfParagraph(visibleEndOfParagraph)); |
if (startOfParagraphToMove.isNull() || endOfParagraphToMove.isNull()) |
return; |
- RefPtrWillBeRawPtr<Node> placeholder = createBreakElement(document()); |
+ RefPtrWillBeRawPtr<HTMLBRElement> placeholder = createBreakElement(document()); |
insertNodeBefore(placeholder, splitBlockquoteNode); |
moveParagraph(startOfParagraphToMove, endOfParagraphToMove, VisiblePosition(positionBeforeNode(placeholder.get())), true); |
} |