| Index: Source/core/editing/ApplyStyleCommand.cpp
|
| diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp
|
| index 472165b28fce5dfaa95e8bb46bb6e3dace57dd80..a776b09a4cab0cbdeab0caae212435f6fbc85b38 100644
|
| --- a/Source/core/editing/ApplyStyleCommand.cpp
|
| +++ b/Source/core/editing/ApplyStyleCommand.cpp
|
| @@ -273,7 +273,7 @@ void ApplyStyleCommand::applyBlockStyle(EditingStyle *style)
|
| RefPtrWillBeRawPtr<Element> block = enclosingBlock(paragraphStart.deepEquivalent().deprecatedNode());
|
| const Position& paragraphStartToMove = paragraphStart.deepEquivalent();
|
| if (!m_removeOnly && isEditablePosition(paragraphStartToMove)) {
|
| - RefPtrWillBeRawPtr<Element> newBlock = moveParagraphContentsToNewBlockIfNecessary(paragraphStartToMove);
|
| + RefPtrWillBeRawPtr<HTMLElement> newBlock = moveParagraphContentsToNewBlockIfNecessary(paragraphStartToMove);
|
| if (newBlock)
|
| block = newBlock;
|
| }
|
|
|