summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp b/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp
index 2d4b7ee8f9d..54e7b23b64f 100644
--- a/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.cpp
+++ b/chromium/third_party/WebKit/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