| Index: third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
|
| index 96197db84e0f39de0322b6cb186301996c1788f1..6bcff8230019894d08cdc2cbca1bbbdd53356009 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/RemoveFormatCommand.cpp
|
| @@ -40,8 +40,9 @@ namespace blink {
|
|
|
| using namespace HTMLNames;
|
|
|
| -RemoveFormatCommand::RemoveFormatCommand(Document& document)
|
| - : CompositeEditCommand(document) {}
|
| +RemoveFormatCommand::RemoveFormatCommand(Document& document,
|
| + CommandSource source)
|
| + : CompositeEditCommand(document, source) {}
|
|
|
| static bool isElementForRemoveFormatCommand(const Element* element) {
|
| DEFINE_STATIC_LOCAL(
|
| @@ -72,7 +73,7 @@ void RemoveFormatCommand::doApply(EditingState* editingState) {
|
| CSSValueTransparent);
|
|
|
| applyCommandToComposite(
|
| - ApplyStyleCommand::create(document(), defaultStyle,
|
| + ApplyStyleCommand::create(document(), commandSource(), defaultStyle,
|
| isElementForRemoveFormatCommand, inputType()),
|
| editingState);
|
| }
|
|
|