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

Unified Diff: Source/core/editing/SetNodeAttributeCommand.cpp

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/SetNodeAttributeCommand.h ('k') | Source/core/editing/SimplifyMarkupCommand.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/editing/SetNodeAttributeCommand.h ('k') | Source/core/editing/SimplifyMarkupCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698