summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h b/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h
index 5716b61dadc..3b4395a0013 100644
--- a/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h
+++ b/chromium/third_party/WebKit/Source/core/editing/SetNodeAttributeCommand.h
@@ -31,20 +31,22 @@
namespace WebCore {
-class SetNodeAttributeCommand : public SimpleEditCommand {
+class SetNodeAttributeCommand FINAL : public SimpleEditCommand {
public:
- static PassRefPtr<SetNodeAttributeCommand> create(PassRefPtr<Element> element, const QualifiedName& attribute, const AtomicString& value)
+ static PassRefPtrWillBeRawPtr<SetNodeAttributeCommand> create(PassRefPtrWillBeRawPtr<Element> element, const QualifiedName& attribute, const AtomicString& value)
{
- return adoptRef(new SetNodeAttributeCommand(element, attribute, value));
+ return adoptRefWillBeNoop(new SetNodeAttributeCommand(element, attribute, value));
}
+ virtual void trace(Visitor*) OVERRIDE;
+
private:
- SetNodeAttributeCommand(PassRefPtr<Element>, const QualifiedName& attribute, const AtomicString& value);
+ SetNodeAttributeCommand(PassRefPtrWillBeRawPtr<Element>, const QualifiedName& attribute, const AtomicString& value);
virtual void doApply() OVERRIDE;
virtual void doUnapply() OVERRIDE;
- RefPtr<Element> m_element;
+ RefPtrWillBeMember<Element> m_element;
QualifiedName m_attribute;
AtomicString m_value;
AtomicString m_oldValue;