| Index: Source/core/editing/DeleteSelectionCommand.cpp
|
| diff --git a/Source/core/editing/DeleteSelectionCommand.cpp b/Source/core/editing/DeleteSelectionCommand.cpp
|
| index 093338b47b04488075c0659ab801284d7e180212..9d16b5e10d254b33cb8806c780e17496d9c01547 100644
|
| --- a/Source/core/editing/DeleteSelectionCommand.cpp
|
| +++ b/Source/core/editing/DeleteSelectionCommand.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/editing/VisibleUnits.h"
|
| #include "core/editing/htmlediting.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/html/HTMLBRElement.h"
|
| #include "core/html/HTMLInputElement.h"
|
| #include "core/rendering/RenderTableCell.h"
|
|
|
| @@ -836,7 +837,7 @@ void DeleteSelectionCommand::doApply()
|
| m_needPlaceholder = hasPlaceholder && lineBreakBeforeStart && !lineBreakAtEndOfSelectionToDelete;
|
| }
|
|
|
| - RefPtrWillBeRawPtr<Node> placeholder = m_needPlaceholder ? createBreakElement(document()) : nullptr;
|
| + RefPtrWillBeRawPtr<HTMLBRElement> placeholder = m_needPlaceholder ? createBreakElement(document()) : nullptr;
|
|
|
| if (placeholder) {
|
| if (m_sanitizeMarkup)
|
|
|