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

Unified Diff: Source/core/html/FormAssociatedElement.cpp

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/html/FormAssociatedElement.h ('k') | Source/core/html/FormDataList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/FormAssociatedElement.cpp
diff --git a/Source/core/html/FormAssociatedElement.cpp b/Source/core/html/FormAssociatedElement.cpp
index aa874423a6e30495beaafc30f469d1d5563f69ea..a661045a175beb0776de748a513477eeb676fff3 100644
--- a/Source/core/html/FormAssociatedElement.cpp
+++ b/Source/core/html/FormAssociatedElement.cpp
@@ -42,7 +42,7 @@ class FormAttributeTargetObserver : public IdTargetObserver {
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
static PassOwnPtrWillBeRawPtr<FormAttributeTargetObserver> create(const AtomicString& id, FormAssociatedElement*);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
virtual void idTargetChanged() override;
private:
@@ -61,7 +61,7 @@ FormAssociatedElement::~FormAssociatedElement()
// We can't call setForm here because it contains virtual calls.
}
-void FormAssociatedElement::trace(Visitor* visitor)
+DEFINE_TRACE(FormAssociatedElement)
{
visitor->trace(m_formAttributeTargetObserver);
visitor->trace(m_form);
@@ -346,7 +346,7 @@ FormAttributeTargetObserver::FormAttributeTargetObserver(const AtomicString& id,
{
}
-void FormAttributeTargetObserver::trace(Visitor* visitor)
+DEFINE_TRACE(FormAttributeTargetObserver)
{
visitor->trace(m_element);
IdTargetObserver::trace(visitor);
« no previous file with comments | « Source/core/html/FormAssociatedElement.h ('k') | Source/core/html/FormDataList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698