Index: Source/core/editing/RemoveCSSPropertyCommand.h |
diff --git a/Source/core/editing/RemoveCSSPropertyCommand.h b/Source/core/editing/RemoveCSSPropertyCommand.h |
index 950181f1aa20d32a6d1f24f7ab89ac4998b92d99..cdb29ef590cab73abd9015f189338cbaa391af55 100644 |
--- a/Source/core/editing/RemoveCSSPropertyCommand.h |
+++ b/Source/core/editing/RemoveCSSPropertyCommand.h |
@@ -35,19 +35,21 @@ class Element; |
class RemoveCSSPropertyCommand FINAL : public SimpleEditCommand { |
public: |
- static PassRefPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtr<Element> element, CSSPropertyID property) |
+ static PassRefPtrWillBeRawPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtrWillBeRawPtr<Element> element, CSSPropertyID property) |
{ |
- return adoptRef(new RemoveCSSPropertyCommand(document, element, property)); |
+ return adoptRefWillBeNoop(new RemoveCSSPropertyCommand(document, element, property)); |
} |
+ virtual void trace(Visitor*) OVERRIDE; |
+ |
private: |
- RemoveCSSPropertyCommand(Document&, PassRefPtr<Element>, CSSPropertyID); |
+ RemoveCSSPropertyCommand(Document&, PassRefPtrWillBeRawPtr<Element>, CSSPropertyID); |
virtual ~RemoveCSSPropertyCommand(); |
virtual void doApply() OVERRIDE; |
virtual void doUnapply() OVERRIDE; |
- RefPtr<Element> m_element; |
+ RefPtrWillBeMember<Element> m_element; |
CSSPropertyID m_property; |
String m_oldValue; |
bool m_important; |