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

Unified Diff: Source/core/css/StylePropertySet.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/StylePropertySet.h
diff --git a/Source/core/css/StylePropertySet.h b/Source/core/css/StylePropertySet.h
index 4294c73de175aaf1763e5cc9f9f539c9d9a4bcbb..0b0425c13c588d001e6f373a525a091106887c37 100644
--- a/Source/core/css/StylePropertySet.h
+++ b/Source/core/css/StylePropertySet.h
@@ -122,8 +122,8 @@ public:
bool propertyMatches(CSSPropertyID, const CSSValue*) const;
- void trace(Visitor*);
- void traceAfterDispatch(Visitor*) { }
+ DECLARE_TRACE();
+ DEFINE_INLINE_TRACE_AFTER_DISPATCH() { }
protected:
@@ -159,7 +159,7 @@ public:
const StylePropertyMetadata* metadataArray() const;
int findPropertyIndex(CSSPropertyID) const;
- void traceAfterDispatch(Visitor*);
+ DECLARE_TRACE_AFTER_DISPATCH();
void* operator new(std::size_t, void* location)
{
@@ -220,7 +220,7 @@ public:
CSSStyleDeclaration* ensureCSSStyleDeclaration();
int findPropertyIndex(CSSPropertyID) const;
- void traceAfterDispatch(Visitor*);
+ DECLARE_TRACE_AFTER_DISPATCH();
private:
explicit MutableStylePropertySet(CSSParserMode);

Powered by Google App Engine
This is Rietveld 408576698