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

Unified Diff: Source/core/html/HTMLImageElement.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/HTMLImageElement.h ('k') | Source/core/html/HTMLInputElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index 5c045c815544d54a7a18c540f86d014e2bcf372a..326cad31e9562127ecba3e52d3c7dc979747f6e9 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -72,7 +72,7 @@ public:
#if !ENABLE(OILPAN)
void clearElement() { m_element = nullptr; }
#endif
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_element);
MediaQueryListListener::trace(visitor);
@@ -127,7 +127,7 @@ HTMLImageElement::~HTMLImageElement()
#endif
}
-void HTMLImageElement::trace(Visitor* visitor)
+DEFINE_TRACE(HTMLImageElement)
{
visitor->trace(m_imageLoader);
visitor->trace(m_listener);
« no previous file with comments | « Source/core/html/HTMLImageElement.h ('k') | Source/core/html/HTMLInputElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698