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

Unified Diff: Source/core/editing/AppendNodeCommand.cpp

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
« no previous file with comments | « Source/core/editing/AppendNodeCommand.h ('k') | Source/core/editing/ApplyBlockElementCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/AppendNodeCommand.cpp
diff --git a/Source/core/editing/AppendNodeCommand.cpp b/Source/core/editing/AppendNodeCommand.cpp
index 0120ec0aa9550de2f816e8b622a9dafd6038525a..c27886c0dd2608b554dc07553eb1588ceaf8e053 100644
--- a/Source/core/editing/AppendNodeCommand.cpp
+++ b/Source/core/editing/AppendNodeCommand.cpp
@@ -31,7 +31,7 @@
namespace WebCore {
-AppendNodeCommand::AppendNodeCommand(PassRefPtr<ContainerNode> parent, PassRefPtr<Node> node)
+AppendNodeCommand::AppendNodeCommand(PassRefPtrWillBeRawPtr<ContainerNode> parent, PassRefPtrWillBeRawPtr<Node> node)
: SimpleEditCommand(parent->document())
, m_parent(parent)
, m_node(node)
@@ -59,4 +59,11 @@ void AppendNodeCommand::doUnapply()
m_node->remove(IGNORE_EXCEPTION);
}
+void AppendNodeCommand::trace(Visitor* visitor)
+{
+ visitor->trace(m_parent);
+ visitor->trace(m_node);
+ SimpleEditCommand::trace(visitor);
+}
+
} // namespace WebCore
« no previous file with comments | « Source/core/editing/AppendNodeCommand.h ('k') | Source/core/editing/ApplyBlockElementCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698