| Index: Source/core/editing/InsertParagraphSeparatorCommand.cpp
|
| diff --git a/Source/core/editing/InsertParagraphSeparatorCommand.cpp b/Source/core/editing/InsertParagraphSeparatorCommand.cpp
|
| index 1e3346f2a2811a3bacfad3d02cbda396405a3b51..6462a48d70f3820a0d54f9a2ff93df14bd900a37 100644
|
| --- a/Source/core/editing/InsertParagraphSeparatorCommand.cpp
|
| +++ b/Source/core/editing/InsertParagraphSeparatorCommand.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/editing/InsertLineBreakCommand.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"
|
|
|
| @@ -311,7 +312,7 @@ void InsertParagraphSeparatorCommand::doApply()
|
| // it if visiblePos is at the start of a paragraph so that the
|
| // content will move down a line.
|
| if (isStartOfParagraph(visiblePos)) {
|
| - RefPtrWillBeRawPtr<Element> br = createBreakElement(document());
|
| + RefPtrWillBeRawPtr<HTMLBRElement> br = createBreakElement(document());
|
| insertNodeAt(br.get(), insertionPosition);
|
| insertionPosition = positionInParentAfterNode(*br);
|
| // If the insertion point is a break element, there is nothing else
|
|
|