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

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.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/resolver/MatchedPropertiesCache.h
diff --git a/Source/core/css/resolver/MatchedPropertiesCache.h b/Source/core/css/resolver/MatchedPropertiesCache.h
index ecbe5bcb3101947c005585759d22183336e052d4..eb10ac9b37386104654ba4cbb6cefc37e4ca4387 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.h
+++ b/Source/core/css/resolver/MatchedPropertiesCache.h
@@ -46,7 +46,7 @@ public:
void set(const LayoutStyle&, const LayoutStyle& parentStyle, const MatchResult&);
void clear();
- void trace(Visitor* visitor) { visitor->trace(matchedProperties); }
+ DEFINE_INLINE_TRACE() { visitor->trace(matchedProperties); }
};
// Specialize the HashTraits for CachedMatchedProperties to check for dead
@@ -72,7 +72,7 @@ public:
static bool isCacheable(const Element*, const LayoutStyle&, const LayoutStyle& parentStyle);
- void trace(Visitor*);
+ DECLARE_TRACE();
private:
#if ENABLE(OILPAN)

Powered by Google App Engine
This is Rietveld 408576698