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

Unified Diff: Source/core/css/CSSCalculationValue.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/CSSCalculationValue.h
diff --git a/Source/core/css/CSSCalculationValue.h b/Source/core/css/CSSCalculationValue.h
index 47f513026576b9fc25437afc4924872c225cee88..d296407b9b9470540aa803104ff4dedb215f3963 100644
--- a/Source/core/css/CSSCalculationValue.h
+++ b/Source/core/css/CSSCalculationValue.h
@@ -86,7 +86,7 @@ public:
virtual CSSPrimitiveValue::UnitType primitiveType() const = 0;
bool isInteger() const { return m_isInteger; }
- virtual void trace(Visitor*) { }
+ DEFINE_INLINE_VIRTUAL_TRACE() { }
protected:
CSSCalcExpressionNode(CalculationCategory category, bool isInteger)
@@ -127,7 +127,7 @@ public:
String customCSSText() const;
bool equals(const CSSCalcValue&) const;
- void traceAfterDispatch(Visitor*);
+ DECLARE_TRACE_AFTER_DISPATCH();
private:
CSSCalcValue(PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> expression, ValueRange range)

Powered by Google App Engine
This is Rietveld 408576698