Index: Source/core/editing/SplitElementCommand.cpp |
diff --git a/Source/core/editing/SplitElementCommand.cpp b/Source/core/editing/SplitElementCommand.cpp |
index 02a2761812444d0cca8f7c7ecac733923fd87042..588c4d86e011cd86bcda5a00f847ccab8553a8bd 100644 |
--- a/Source/core/editing/SplitElementCommand.cpp |
+++ b/Source/core/editing/SplitElementCommand.cpp |
@@ -34,7 +34,7 @@ |
namespace WebCore { |
-SplitElementCommand::SplitElementCommand(PassRefPtr<Element> element, PassRefPtr<Node> atChild) |
+SplitElementCommand::SplitElementCommand(PassRefPtrWillBeRawPtr<Element> element, PassRefPtrWillBeRawPtr<Node> atChild) |
: SimpleEditCommand(element->document()) |
, m_element2(element) |
, m_atChild(atChild) |
@@ -108,4 +108,12 @@ void SplitElementCommand::doReapply() |
executeApply(); |
} |
+void SplitElementCommand::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_element1); |
+ visitor->trace(m_element2); |
+ visitor->trace(m_atChild); |
+ SimpleEditCommand::trace(visitor); |
+} |
+ |
} // namespace WebCore |