Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: Source/core/editing/RemoveCSSPropertyCommand.h

Issue 299353004: Oilpan: move editing objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test wrapper class finalized Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/MoveSelectionCommand.cpp ('k') | Source/core/editing/RemoveCSSPropertyCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/editing/MoveSelectionCommand.cpp ('k') | Source/core/editing/RemoveCSSPropertyCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698