Index: Source/core/editing/SetNodeAttributeCommand.cpp |
diff --git a/Source/core/editing/SetNodeAttributeCommand.cpp b/Source/core/editing/SetNodeAttributeCommand.cpp |
index 2d4b7ee8f9dd045b33bbd896bdc5b1b2893c87a8..54e7b23b64f68f35615d647af6ad161cef7fb3d2 100644 |
--- a/Source/core/editing/SetNodeAttributeCommand.cpp |
+++ b/Source/core/editing/SetNodeAttributeCommand.cpp |
@@ -31,7 +31,7 @@ |
namespace WebCore { |
-SetNodeAttributeCommand::SetNodeAttributeCommand(PassRefPtr<Element> element, |
+SetNodeAttributeCommand::SetNodeAttributeCommand(PassRefPtrWillBeRawPtr<Element> element, |
const QualifiedName& attribute, const AtomicString& value) |
: SimpleEditCommand(element->document()) |
, m_element(element) |
@@ -53,4 +53,10 @@ void SetNodeAttributeCommand::doUnapply() |
m_oldValue = nullAtom; |
} |
+void SetNodeAttributeCommand::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_element); |
+ SimpleEditCommand::trace(visitor); |
+} |
+ |
} // namespace WebCore |