void applyCommand(PassRefPtr<EditCommand> command) { DeleteButtonController *deleteButtonController = command->document()->frame()->editor()->deleteButtonController(); deleteButtonController->disable(); command->apply(); deleteButtonController->enable(); }
void applyCommand(PassRefPtr<EditCommand> command) { command->apply(); }