Index: Source/core/editing/InsertNodeBeforeCommand.cpp |
diff --git a/Source/core/editing/InsertNodeBeforeCommand.cpp b/Source/core/editing/InsertNodeBeforeCommand.cpp |
index 862d541033e6cb1a7413dae61c40b50b0f5eeee4..ef3628a97aeeb01529f96e3608a8759acc5c3206 100644 |
--- a/Source/core/editing/InsertNodeBeforeCommand.cpp |
+++ b/Source/core/editing/InsertNodeBeforeCommand.cpp |
@@ -31,7 +31,7 @@ |
namespace WebCore { |
-InsertNodeBeforeCommand::InsertNodeBeforeCommand(PassRefPtr<Node> insertChild, PassRefPtr<Node> refChild, |
+InsertNodeBeforeCommand::InsertNodeBeforeCommand(PassRefPtrWillBeRawPtr<Node> insertChild, PassRefPtrWillBeRawPtr<Node> refChild, |
ShouldAssumeContentIsAlwaysEditable shouldAssumeContentIsAlwaysEditable) |
: SimpleEditCommand(refChild->document()) |
, m_insertChild(insertChild) |
@@ -64,4 +64,11 @@ void InsertNodeBeforeCommand::doUnapply() |
m_insertChild->remove(IGNORE_EXCEPTION); |
} |
+void InsertNodeBeforeCommand::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_insertChild); |
+ visitor->trace(m_refChild); |
+ SimpleEditCommand::trace(visitor); |
+} |
+ |
} |