| Index: third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| index 415e41c0bd866e4e1edfc9736e829d11caf9349d..c2885ad6ff3e7292f226be14beb9515650a50615 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| @@ -109,7 +109,7 @@ void FormatBlockCommand::formatRange(const Position& start, const Position& end,
|
| blockElement->setAttribute(styleAttr, toHTMLElement(nodeAfterInsertionPosition.get())->getAttribute(styleAttr));
|
|
|
| if (wasEndOfParagraph && !isEndOfParagraph(createVisiblePosition(lastParagraphInBlockNode)) && !isStartOfParagraph(createVisiblePosition(lastParagraphInBlockNode)))
|
| - insertBlockPlaceholder(lastParagraphInBlockNode);
|
| + insertBlockPlaceholder(lastParagraphInBlockNode, editingState);
|
| }
|
|
|
| Element* FormatBlockCommand::elementForFormatBlockCommand(Range* range)
|
|
|