| 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 bc3c6ea65d28c3d6e8bee5b3abdec935fa6328a2..9b96ee71020353a796b1a550525db7c2d4836f5b 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/FormatBlockCommand.cpp
|
| @@ -101,8 +101,9 @@ void FormatBlockCommand::formatRange(const Position& start,
|
| }
|
|
|
| if (!blockElement) {
|
| - // Create a new blockquote and insert it as a child of the root editable element. We accomplish
|
| - // this by splitting all parents of the current paragraph up to that point.
|
| + // Create a new blockquote and insert it as a child of the root editable
|
| + // element. We accomplish this by splitting all parents of the current
|
| + // paragraph up to that point.
|
| blockElement = createBlockElement();
|
| insertNodeBefore(blockElement, nodeAfterInsertionPosition, editingState);
|
| if (editingState->isAborted())
|
| @@ -122,7 +123,8 @@ void FormatBlockCommand::formatRange(const Position& start,
|
| if (editingState->isAborted())
|
| return;
|
|
|
| - // Copy the inline style of the original block element to the newly created block-style element.
|
| + // Copy the inline style of the original block element to the newly created
|
| + // block-style element.
|
| if (outerBlock != nodeAfterInsertionPosition &&
|
| toHTMLElement(nodeAfterInsertionPosition)->hasAttribute(styleAttr))
|
| blockElement->setAttribute(
|
|
|