| Index: third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
|
| index 067d8b273826a868a444c8a6e838fdda4867c3d4..c45cd8c99655fe38c378240986bf52747025ec2a 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceNodeWithSpanCommand.h
|
| @@ -41,9 +41,9 @@ class HTMLSpanElement;
|
| // More accurately, this is ReplaceElementWithSpanPreservingChildrenAndAttributesCommand
|
| class ReplaceNodeWithSpanCommand final : public SimpleEditCommand {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<ReplaceNodeWithSpanCommand> create(PassRefPtrWillBeRawPtr<HTMLElement> element)
|
| + static RawPtr<ReplaceNodeWithSpanCommand> create(RawPtr<HTMLElement> element)
|
| {
|
| - return adoptRefWillBeNoop(new ReplaceNodeWithSpanCommand(element));
|
| + return new ReplaceNodeWithSpanCommand(element);
|
| }
|
|
|
| HTMLSpanElement* spanElement() { return m_spanElement.get(); }
|
| @@ -51,13 +51,13 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| - explicit ReplaceNodeWithSpanCommand(PassRefPtrWillBeRawPtr<HTMLElement>);
|
| + explicit ReplaceNodeWithSpanCommand(RawPtr<HTMLElement>);
|
|
|
| void doApply(EditingState*) override;
|
| void doUnapply() override;
|
|
|
| - RefPtrWillBeMember<HTMLElement> m_elementToReplace;
|
| - RefPtrWillBeMember<HTMLSpanElement> m_spanElement;
|
| + Member<HTMLElement> m_elementToReplace;
|
| + Member<HTMLSpanElement> m_spanElement;
|
| };
|
|
|
| } // namespace blink
|
|
|