Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: Source/core/editing/WrapContentsInDummySpanCommand.h

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test wrapper class finalized Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « Source/core/editing/VisibleSelectionTest.cpp ('k') | Source/core/editing/WrapContentsInDummySpanCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698