| Index: third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
|
| index f743c13f97fe4fefd64c30d4477a9da1d0936db1..0d4cafaeee0021e80d701f062085fdd7d58ce9ef 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/SplitTextNodeCommand.h
|
| @@ -34,23 +34,23 @@ class Text;
|
|
|
| class SplitTextNodeCommand final : public SimpleEditCommand {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SplitTextNodeCommand> create(PassRefPtrWillBeRawPtr<Text> node, int offset)
|
| + static RawPtr<SplitTextNodeCommand> create(RawPtr<Text> node, int offset)
|
| {
|
| - return adoptRefWillBeNoop(new SplitTextNodeCommand(node, offset));
|
| + return new SplitTextNodeCommand(node, offset);
|
| }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - SplitTextNodeCommand(PassRefPtrWillBeRawPtr<Text>, int offset);
|
| + SplitTextNodeCommand(RawPtr<Text>, int offset);
|
|
|
| void doApply(EditingState*) override;
|
| void doUnapply() override;
|
| void doReapply() override;
|
| void insertText1AndTrimText2();
|
|
|
| - RefPtrWillBeMember<Text> m_text1;
|
| - RefPtrWillBeMember<Text> m_text2;
|
| + Member<Text> m_text1;
|
| + Member<Text> m_text2;
|
| unsigned m_offset;
|
| };
|
|
|
|
|