diff options
Diffstat (limited to 'WebCore/editing/RemoveFormatCommand.cpp')
-rw-r--r-- | WebCore/editing/RemoveFormatCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/editing/RemoveFormatCommand.cpp b/WebCore/editing/RemoveFormatCommand.cpp index 42833cb..0445b60 100644 --- a/WebCore/editing/RemoveFormatCommand.cpp +++ b/WebCore/editing/RemoveFormatCommand.cpp @@ -87,7 +87,7 @@ void RemoveFormatCommand::doApply() Node* root = frame->selection()->rootEditableElement(); RefPtr<EditingStyle> defaultStyle = EditingStyle::create(root); - applyCommandToComposite(ApplyStyleCommand::create(document(), defaultStyle->style(), isElementForRemoveFormatCommand, editingAction())); + applyCommandToComposite(ApplyStyleCommand::create(document(), defaultStyle.get(), isElementForRemoveFormatCommand, editingAction())); } } |