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

Unified Diff: Source/core/html/HTMLInputElement.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/HTMLInputElement.h ('k') | Source/core/html/HTMLLabelElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 3af7be0eac333bf93b1ce14d18930446f0c6ae65..f9667a2078f2a7f3c827334862550c46beb18b78 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -89,7 +89,7 @@ class ListAttributeTargetObserver : public IdTargetObserver {
WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
public:
static PassOwnPtrWillBeRawPtr<ListAttributeTargetObserver> create(const AtomicString& id, HTMLInputElement*);
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
virtual void idTargetChanged() override;
private:
@@ -143,7 +143,7 @@ PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu
return inputElement.release();
}
-void HTMLInputElement::trace(Visitor* visitor)
+DEFINE_TRACE(HTMLInputElement)
{
visitor->trace(m_inputType);
visitor->trace(m_inputTypeView);
@@ -1784,7 +1784,7 @@ ListAttributeTargetObserver::ListAttributeTargetObserver(const AtomicString& id,
{
}
-void ListAttributeTargetObserver::trace(Visitor* visitor)
+DEFINE_TRACE(ListAttributeTargetObserver)
{
visitor->trace(m_element);
IdTargetObserver::trace(visitor);
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/HTMLLabelElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698