| Index: Source/core/editing/WrapContentsInDummySpanCommand.h
|
| diff --git a/Source/core/editing/WrapContentsInDummySpanCommand.h b/Source/core/editing/WrapContentsInDummySpanCommand.h
|
| index f35ccf9dedc6954adeb5b19a25423092f28aaa61..52518f69f046345dfc8564449ddee950aba33390 100644
|
| --- a/Source/core/editing/WrapContentsInDummySpanCommand.h
|
| +++ b/Source/core/editing/WrapContentsInDummySpanCommand.h
|
| @@ -34,21 +34,23 @@ class HTMLElement;
|
|
|
| class WrapContentsInDummySpanCommand FINAL : public SimpleEditCommand {
|
| public:
|
| - static PassRefPtr<WrapContentsInDummySpanCommand> create(PassRefPtr<Element> element)
|
| + static PassRefPtrWillBeRawPtr<WrapContentsInDummySpanCommand> create(PassRefPtrWillBeRawPtr<Element> element)
|
| {
|
| - return adoptRef(new WrapContentsInDummySpanCommand(element));
|
| + return adoptRefWillBeNoop(new WrapContentsInDummySpanCommand(element));
|
| }
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| - explicit WrapContentsInDummySpanCommand(PassRefPtr<Element>);
|
| + explicit WrapContentsInDummySpanCommand(PassRefPtrWillBeRawPtr<Element>);
|
|
|
| virtual void doApply() OVERRIDE;
|
| virtual void doUnapply() OVERRIDE;
|
| virtual void doReapply() OVERRIDE;
|
| void executeApply();
|
|
|
| - RefPtr<Element> m_element;
|
| - RefPtrWillBePersistent<HTMLElement> m_dummySpan;
|
| + RefPtrWillBeMember<Element> m_element;
|
| + RefPtrWillBeMember<HTMLElement> m_dummySpan;
|
| };
|
|
|
| } // namespace WebCore
|
|
|