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

Unified Diff: Source/core/html/HTMLSourceElement.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/HTMLSourceElement.h ('k') | Source/core/html/HTMLStyleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLSourceElement.cpp
diff --git a/Source/core/html/HTMLSourceElement.cpp b/Source/core/html/HTMLSourceElement.cpp
index 04092c0d3f7dd6b7537e02c5fe9af792ba020edd..f1138b2a7e84f4f35ceb9cd53cd4dd432c3150fa 100644
--- a/Source/core/html/HTMLSourceElement.cpp
+++ b/Source/core/html/HTMLSourceElement.cpp
@@ -57,7 +57,7 @@ public:
}
void clearElement() { m_element = nullptr; }
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_element);
MediaQueryListListener::trace(visitor);
@@ -190,7 +190,7 @@ void HTMLSourceElement::notifyMediaQueryChanged()
toHTMLPictureElement(parent)->sourceOrMediaChanged();
}
-void HTMLSourceElement::trace(Visitor* visitor)
+DEFINE_TRACE(HTMLSourceElement)
{
visitor->trace(m_mediaQueryList);
visitor->trace(m_listener);
« no previous file with comments | « Source/core/html/HTMLSourceElement.h ('k') | Source/core/html/HTMLStyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698