| Index: Source/core/editing/ApplyBlockElementCommand.cpp
|
| diff --git a/Source/core/editing/ApplyBlockElementCommand.cpp b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| index 3473038a41e0141295fdfd0c5be2971873ee3275..988216c1638847b5e79ee4b8e807bb8b19afdebd 100644
|
| --- a/Source/core/editing/ApplyBlockElementCommand.cpp
|
| +++ b/Source/core/editing/ApplyBlockElementCommand.cpp
|
| @@ -34,6 +34,7 @@
|
| #include "core/editing/VisiblePosition.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"
|
| #include "core/rendering/style/RenderStyle.h"
|
| @@ -113,7 +114,7 @@ void ApplyBlockElementCommand::formatSelection(const VisiblePosition& startOfSel
|
| if (isAtUnsplittableElement(start)) {
|
| RefPtrWillBeRawPtr<HTMLElement> blockquote = createBlockElement();
|
| insertNodeAt(blockquote, start);
|
| - RefPtrWillBeRawPtr<Element> placeholder = createBreakElement(document());
|
| + RefPtrWillBeRawPtr<HTMLBRElement> placeholder = createBreakElement(document());
|
| appendNode(placeholder, blockquote);
|
| setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM, endingSelection().isDirectional()));
|
| return;
|
|
|