| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index 001a63c9ac53960c5e43bd79fda352c8f678237d..a072725af790dd365d5fadf1b45c2cea4a0cdf3a 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -1154,7 +1154,9 @@ void ApplyStyleCommand::pushDownInlineStyleAroundNode(EditingStyle* style, Node*
|
| element->removeAttribute(HTMLNames::idAttr);
|
| if (isHTMLAnchorElement(element))
|
| element->removeAttribute(HTMLNames::nameAttr);
|
| - surroundNodeRangeWithElement(child, child, wrapper, ASSERT_NO_EDITING_ABORT);
|
| + surroundNodeRangeWithElement(child, child, wrapper, editingState);
|
| + if (editingState->isAborted())
|
| + return;
|
| }
|
| }
|
|
|
|
|