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

Unified Diff: Source/core/css/CSSRuleList.h

Issue 953693002: InlinedVisitor: Migrate css 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
Index: Source/core/css/CSSRuleList.h
diff --git a/Source/core/css/CSSRuleList.h b/Source/core/css/CSSRuleList.h
index 0655b5fb6b70bfca0a195a42871344dca3f98081..6fcdd62446c226efbfa4069180e5fccc64586cb6 100644
--- a/Source/core/css/CSSRuleList.h
+++ b/Source/core/css/CSSRuleList.h
@@ -50,7 +50,7 @@ public:
virtual CSSStyleSheet* styleSheet() const = 0;
- virtual void trace(Visitor*) { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
protected:
CSSRuleList() { }
@@ -72,7 +72,7 @@ public:
virtual CSSStyleSheet* styleSheet() const override { return 0; }
- virtual void trace(Visitor*) override;
+ DECLARE_VIRTUAL_TRACE();
private:
StaticCSSRuleList();
@@ -100,7 +100,7 @@ public:
virtual void deref() override { m_rule->deref(); }
#endif
- virtual void trace(Visitor* visitor) override
+ DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_rule);
CSSRuleList::trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698