| Index: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
|
| index 72c862deb8b0dffd6307c0f7c61a78061d2dd844..c3b6de39a552e03143741c029aaf2bd795794459 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.h
|
| @@ -34,20 +34,20 @@ class DocumentFragment;
|
|
|
| class MoveSelectionCommand final : public CompositeEditCommand {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<MoveSelectionCommand> create(PassRefPtrWillBeRawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
|
| + static RawPtr<MoveSelectionCommand> create(RawPtr<DocumentFragment> fragment, const Position& position, bool smartInsert = false, bool smartDelete = false)
|
| {
|
| - return adoptRefWillBeNoop(new MoveSelectionCommand(fragment, position, smartInsert, smartDelete));
|
| + return new MoveSelectionCommand(fragment, position, smartInsert, smartDelete);
|
| }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - MoveSelectionCommand(PassRefPtrWillBeRawPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
|
| + MoveSelectionCommand(RawPtr<DocumentFragment>, const Position&, bool smartInsert, bool smartDelete);
|
|
|
| void doApply(EditingState*) override;
|
| EditAction editingAction() const override;
|
|
|
| - RefPtrWillBeMember<DocumentFragment> m_fragment;
|
| + Member<DocumentFragment> m_fragment;
|
| Position m_position;
|
| bool m_smartInsert;
|
| bool m_smartDelete;
|
|
|