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

Unified Diff: Source/core/css/resolver/MatchedPropertiesCache.h

Issue 1224673002: Implement proposed shadow tree cascade order. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added documentation Created 5 years, 4 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 6c1a7fb7c55430f96660382436872ce79417dd3c..5619a84bc1c1f72707977a8fb00540c4444c00b8 100644
--- a/Source/core/css/resolver/MatchedPropertiesCache.h
+++ b/Source/core/css/resolver/MatchedPropertiesCache.h
@@ -43,7 +43,7 @@ public:
RefPtr<ComputedStyle> computedStyle;
RefPtr<ComputedStyle> parentComputedStyle;
- void set(const ComputedStyle&, const ComputedStyle& parentStyle, const MatchResult&);
+ void set(const ComputedStyle&, const ComputedStyle& parentStyle, const MatchedPropertiesVector&);
void clear();
DEFINE_INLINE_TRACE()
{
@@ -95,8 +95,8 @@ class MatchedPropertiesCache {
public:
MatchedPropertiesCache();
- const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchResult&);
- void add(const ComputedStyle&, const ComputedStyle& parentStyle, unsigned hash, const MatchResult&);
+ const CachedMatchedProperties* find(unsigned hash, const StyleResolverState&, const MatchedPropertiesVector&);
+ void add(const ComputedStyle&, const ComputedStyle& parentStyle, unsigned hash, const MatchedPropertiesVector&);
void clear();
void clearViewportDependent();

Powered by Google App Engine
This is Rietveld 408576698