| Index: Source/core/editing/DeleteSelectionCommand.h
|
| diff --git a/Source/core/editing/DeleteSelectionCommand.h b/Source/core/editing/DeleteSelectionCommand.h
|
| index 22a54101fe67cca08911e694567f54ac766aeef6..8234bb308b3a734f610e767b035d279150fb9d27 100644
|
| --- a/Source/core/editing/DeleteSelectionCommand.h
|
| +++ b/Source/core/editing/DeleteSelectionCommand.h
|
| @@ -34,7 +34,7 @@ class EditingStyle;
|
|
|
| class DeleteSelectionCommand : public CompositeEditCommand {
|
| public:
|
| - static PassRefPtr<DeleteSelectionCommand> create(Document* document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
|
| + static PassRefPtr<DeleteSelectionCommand> create(Document& document, bool smartDelete = false, bool mergeBlocksAfterDelete = true, bool replace = false, bool expandForSpecialElements = false, bool sanitizeMarkup = true)
|
| {
|
| return adoptRef(new DeleteSelectionCommand(document, smartDelete, mergeBlocksAfterDelete, replace, expandForSpecialElements, sanitizeMarkup));
|
| }
|
| @@ -44,7 +44,7 @@ public:
|
| }
|
|
|
| private:
|
| - DeleteSelectionCommand(Document*, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool santizeMarkup);
|
| + DeleteSelectionCommand(Document&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool santizeMarkup);
|
| DeleteSelectionCommand(const VisibleSelection&, bool smartDelete, bool mergeBlocksAfterDelete, bool replace, bool expandForSpecialElements, bool sanitizeMarkup);
|
|
|
| virtual void doApply();
|
|
|